Commit d83d792e authored by michael's avatar michael

segfault fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3236 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6edd1e1e
...@@ -453,8 +453,9 @@ static int svq3_decode_mb (H264Context *h, unsigned int mb_type) { ...@@ -453,8 +453,9 @@ static int svq3_decode_mb (H264Context *h, unsigned int mb_type) {
mb_type = MB_TYPE_SKIP; mb_type = MB_TYPE_SKIP;
} else { } else {
svq3_mc_dir (h, s->next_picture.mb_type[mb_xy], PREDICT_MODE, 0, 0); mb_type= FFMIN(s->next_picture.mb_type[mb_xy], 0);
svq3_mc_dir (h, s->next_picture.mb_type[mb_xy], PREDICT_MODE, 1, 1); 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; mb_type = MB_TYPE_16x16;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment