Commit 83bac8d5 authored by michael's avatar michael

ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7e010e70
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment