[FFmpeg-devel] [PATCH]lavc/libx26x: Allow to fail if wrong options were passed

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 28 11:40:36 CET 2016


Nicolas George <george <at> nsup.org> writes:

> > +        if (avctx->strict_std_compliance >= FF_COMPLIANCE_STRICT)
> > +            return AVERROR_INVALIDDATA;
> 
> AVERROR(EINVAL) seems more correct. Same below.

Changed locally.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list