Mercurial > libavcodec.hg
changeset 1175:d2fd27d01df8 libavcodec
fixing slice decoding, dunno why the regression tests didnt catch that ...
author | michaelni |
---|---|
date | Thu, 10 Apr 2003 01:39:53 +0000 |
parents | 2de2a847af67 |
children | a39d55237445 |
files | error_resilience.c h263dec.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/error_resilience.c Mon Apr 07 19:23:21 2003 +0000 +++ b/error_resilience.c Thu Apr 10 01:39:53 2003 +0000 @@ -614,13 +614,13 @@ s->error_status_table[i] &= mask; } } - - s->error_status_table[start_xy] |= VP_START; - + if(end_xy < s->mb_num){ s->error_status_table[end_xy] &= mask; s->error_status_table[end_xy] |= status; } + + s->error_status_table[start_xy] |= VP_START; } void ff_er_frame_end(MpegEncContext *s){
--- a/h263dec.c Mon Apr 07 19:23:21 2003 +0000 +++ b/h263dec.c Thu Apr 10 01:39:53 2003 +0000 @@ -484,7 +484,7 @@ avctx->has_b_frames= !s->low_delay; if(s->workaround_bugs&FF_BUG_AUTODETECT){ - if(s->padding_bug_score > -2 && !s->data_partitioning) + if(s->padding_bug_score > -2 && !s->data_partitioning && !s->resync_marker) s->workaround_bugs |= FF_BUG_NO_PADDING; else s->workaround_bugs &= ~FF_BUG_NO_PADDING;