Commit d2062ff6 authored by Michael Niedermayer's avatar Michael Niedermayer

do not remove FLAG_CODED

Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0e6472fd
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment