[FFmpeg-devel] [PATCH]Do not fail decoding invalid v410 files

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Dec 30 02:14:54 CET 2011


On 29/12/2011 8:05 PM, Carl Eugen Hoyos wrote:
>       if (avctx->width & 1) {
> -        av_log(avctx, AV_LOG_ERROR, "v410 requires width to be even.\n");
> +        av_log(avctx, AV_LOG_WARNING, "v410 requires width to be even.\n");
> -        return AVERROR_INVALIDDATA;
>       }

LGTM.

- Derek


More information about the ffmpeg-devel mailing list