summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-07-15 18:24:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-07-15 18:24:39 +0000
commitc4194cc6067f8f450722ff7c4ab4ba71aecd584b (patch)
treec6fe7c4d984d94e29f30afbb6edd214a7a4f0ecb /libavformat/mpegenc.c
parentb958a7f1114a49b0a0e36479ba96c83c4fe4c3b3 (diff)
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
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c2
1 files changed, 0 insertions, 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;
}
}