Mercurial > libavcodec.hg
changeset 7940:8dc81763fb42 libavcodec
Do not attempt to perform error concealment in lowres mode as this is
not supported currently.
author | michael |
---|---|
date | Tue, 30 Sep 2008 00:28:13 +0000 |
parents | cd8602533b62 |
children | 8a3f24796fa9 |
files | error_resilience.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/error_resilience.c Mon Sep 29 22:22:46 2008 +0000 +++ b/error_resilience.c Tue Sep 30 00:28:13 2008 +0000 @@ -680,7 +680,7 @@ int size = s->b8_stride * 2 * s->mb_height; Picture *pic= s->current_picture_ptr; - if(!s->error_recognition || s->error_count==0 || + if(!s->error_recognition || s->error_count==0 || s->avctx->lowres || s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return; if(s->current_picture.motion_val[0] == NULL){