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

low_delay / has_b_frames fix

Originally committed as revision 770 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 1a013246
......@@ -3504,7 +3504,9 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
return -1;
}
}else{
s->low_delay=0;
// set low delay flag only once so the smart? low delay detection wont be overriden
if(s->picture_number==0)
s->low_delay=0;
}
s->shape = get_bits(&s->gb, 2); /* vol shape */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册