Mercurial > libavcodec.hg
changeset 10605:2c2827f792a1 libavcodec
Disable error resilience for field pictures, this was never supported,
results where more or less random but should not have crashed.
author | michael |
---|---|
date | Mon, 30 Nov 2009 19:15:19 +0000 |
parents | ce2cf9e32b09 |
children | 9ea5f2f1874f |
files | error_resilience.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/error_resilience.c Mon Nov 30 19:14:00 2009 +0000 +++ b/error_resilience.c Mon Nov 30 19:15:19 2009 +0000 @@ -685,6 +685,7 @@ 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){