do not remove FLAG_CODED

Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent 0e6472fdcb
commit d2062ff64d
  1. 2
      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) if(FFABS(pkt->pts - nus->last_pts)
> nus->max_pts_distance) flags |= FLAG_CHECKSUM; > nus->max_pts_distance) flags |= FLAG_CHECKSUM;
return flags; return flags | (fc->flags & FLAG_CODED);
} }
static int write_packet(AVFormatContext *s, AVPacket *pkt){ static int write_packet(AVFormatContext *s, AVPacket *pkt){

Loading…
Cancel
Save