Browse Source

do not remove FLAG_CODED

Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
d2062ff64d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/nutenc.c

+ 1
- 1
libavformat/nutenc.c View File

@@ -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){


Loading…
Cancel
Save