aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-11 11:10:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-11 11:10:29 +0000
commitd2062ff64d01db5c3c0edd39bd519e3aa5c4f2f0 (patch)
treeda4b24afc83f9d03aa47ca256df76024efaa78c8
parent0e6472fdcbdcababfca2be504398432641329702 (diff)
downloadffmpeg-d2062ff64d01db5c3c0edd39bd519e3aa5c4f2f0.tar.gz
do not remove FLAG_CODED
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/nutenc.c2
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){