mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-05 23:00:02 +00:00
ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>
Originally committed as revision 3209 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
69de449af6
commit
573ab01eb7
@ -943,7 +943,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt)
|
||||
stream->start_dts = new_start_dts;
|
||||
stream->nb_frames++;
|
||||
if (stream->frame_start_offset == 0)
|
||||
stream->frame_start_offset = stream->buffer_ptr;
|
||||
stream->frame_start_offset = stream->buffer_ptr + 1;
|
||||
while (size > 0) {
|
||||
avail_size = get_packet_payload_size(ctx, stream_index,
|
||||
stream->start_pts,
|
||||
|
Loading…
Reference in New Issue
Block a user