Mercurial > libavcodec.hg
changeset 242:d1a9663b973b libavcodec
* continue after error in msmpeg4_decode_mb - helps for some movie samples
author | kabi |
---|---|
date | Mon, 18 Feb 2002 09:28:05 +0000 |
parents | 4bb6289eff93 |
children | a6519f773064 |
files | h263dec.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h263dec.c Mon Feb 18 01:58:00 2002 +0000 +++ b/h263dec.c Mon Feb 18 09:28:05 2002 +0000 @@ -186,8 +186,10 @@ 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);