提交 d2062ff6 编写于 作者: M Michael Niedermayer

do not remove FLAG_CODED

Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册