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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Dec 30 02:38:48 CET 2011


Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes:

> 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.

Patch applied.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list