diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-11 11:10:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-11 11:10:29 +0000 |
commit | d2062ff64d01db5c3c0edd39bd519e3aa5c4f2f0 (patch) | |
tree | da4b24afc83f9d03aa47ca256df76024efaa78c8 /libavformat/nutenc.c | |
parent | 0e6472fdcbdcababfca2be504398432641329702 (diff) | |
download | ffmpeg-d2062ff64d01db5c3c0edd39bd519e3aa5c4f2f0.tar.gz |
do not remove FLAG_CODED
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index d0005f85e8..00f76e5575 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -435,7 +435,7 @@ static int get_needed_flags(NUTContext *nut, StreamContext *nus, FrameCode *fc, if(FFABS(pkt->pts - nus->last_pts) > nus->max_pts_distance) flags |= FLAG_CHECKSUM; - return flags; + return flags | (fc->flags & FLAG_CODED); } static int write_packet(AVFormatContext *s, AVPacket *pkt){ |