Commit 29c5c505 authored by kabi's avatar kabi

* continue after error in msmpeg4_decode_mb - helps for some movie samples


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba6c5e14
......@@ -186,8 +186,10 @@ static int h263_decode_frame(AVCodecContext *avctx,
s->mv_dir = MV_DIR_FORWARD;
s->mv_type = MV_TYPE_16X16;
if (s->h263_msmpeg4) {
if (msmpeg4_decode_mb(s, s->block) < 0)
if (msmpeg4_decode_mb(s, s->block) < 0) {
fprintf(stderr,"\nError at MB: %d\n", (s->mb_y * s->mb_width) + s->mb_x);
return -1;
}
} else {
if (h263_decode_mb(s, s->block) < 0) {
fprintf(stderr,"\nError at MB: %d\n", (s->mb_y * s->mb_width) + s->mb_x);
......
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