Commit ee733e43 authored by michael's avatar michael

Disable error resilience for field pictures, this was never supported,

results where more or less random but should not have crashed.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20671 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 39d2d9af
......@@ -685,6 +685,7 @@ void ff_er_frame_end(MpegEncContext *s){
if(!s->error_recognition || s->error_count==0 || s->avctx->lowres ||
s->avctx->hwaccel ||
s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU ||
s->picture_structure != PICT_FRAME || // we dont support ER of field pictures yet, though it should not crash if enabled
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