Mercurial > libavcodec.hg
changeset 822:21d400c67fc5 libavcodec
fixing msmpeg4v3 with mb_height % slice_height != 0
author | michaelni |
---|---|
date | Fri, 01 Nov 2002 18:55:03 +0000 |
parents | f5f2e162331c |
children | 5344ecb2c677 |
files | h263dec.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h263dec.c Fri Nov 01 13:25:22 2002 +0000 +++ b/h263dec.c Fri Nov 01 18:55:03 2002 +0000 @@ -60,7 +60,6 @@ switch(avctx->codec->id) { case CODEC_ID_H263: s->gob_number = 0; - s->first_slice_line = 0; break; case CODEC_ID_MPEG4: s->time_increment_bits = 4; /* default value for broken headers */ @@ -479,7 +478,7 @@ decode_slice(s); s->error_status_table[0]|= VP_START; - while(s->mb_y<s->mb_height && s->gb.size*8 - get_bits_count(&s->gb)>32){ + while(s->mb_y<s->mb_height && s->gb.size*8 - get_bits_count(&s->gb)>16){ if(s->msmpeg4_version){ if(s->mb_x!=0 || (s->mb_y%s->slice_height)!=0) break;