From c4194cc6067f8f450722ff7c4ab4ba71aecd584b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 15 Jul 2007 18:24:39 +0000 Subject: [PATCH] remove likely wrong reseting of align_iframe same md5 with a short -t dvd encoding fixes streamcopy of dvd Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpegenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index e50d824aa8..2c304da94a 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -1173,8 +1173,6 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt) stream->bytes_to_iframe = av_fifo_size(&stream->fifo); stream->align_iframe = 1; stream->vobu_start_pts = pts; - } else { - stream->align_iframe = 0; } }