remove likely wrong reseting of align_iframe
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Jul 2007 18:24:39 +0000 (18:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Jul 2007 18:24:39 +0000 (18:24 +0000)
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

index e50d824..2c304da 100644 (file)
@@ -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;
         }
     }