提交 6258c7e6 编写于 作者: M Michael Niedermayer

segfault fix

Originally committed as revision 3236 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 cfcbbe48
......@@ -453,8 +453,9 @@ static int svq3_decode_mb (H264Context *h, unsigned int mb_type) {
mb_type = MB_TYPE_SKIP;
} else {
svq3_mc_dir (h, s->next_picture.mb_type[mb_xy], PREDICT_MODE, 0, 0);
svq3_mc_dir (h, s->next_picture.mb_type[mb_xy], PREDICT_MODE, 1, 1);
mb_type= FFMIN(s->next_picture.mb_type[mb_xy], 0);
svq3_mc_dir (h, mb_type, PREDICT_MODE, 0, 0);
svq3_mc_dir (h, mb_type, PREDICT_MODE, 1, 1);
mb_type = MB_TYPE_16x16;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册