Commit 9781b853 authored by michael's avatar michael

Do not attempt to perform error concealment in lowres mode as this is

not supported currently.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15465 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8da6b54e
......@@ -680,7 +680,7 @@ void ff_er_frame_end(MpegEncContext *s){
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){
......
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