[MPlayer-dev-eng] loosen requirements on error resilence flags

Reinhard Tartler siretart at gmail.com
Mon Feb 6 15:24:37 CET 2012


On Mon, Feb 6, 2012 at 1:16 PM, Diego Biurrun <diego at biurrun.de> wrote:
> On Mon, Feb 06, 2012 at 07:32:15AM +0100, Reinhard Tartler wrote:
>> $subj
>>
>> --- libmpcodecs/vd_ffmpeg.c   (Revision 34652)
>> +++ libmpcodecs/vd_ffmpeg.c   (Arbeitskopie)
>> @@ -47,6 +47,18 @@
>>
>> +#ifndef AV_EF_COMPLIANT
>> +#define AV_EF_COMPLIANT 0
>> +#endif
>> +
>> +#ifndef AV_EF_CAREFUL
>> +#define AV_EF_CAREFUL 0
>> +#endif
>> +
>> +#ifndef AV_EF_AGGRESSIVE
>> +#define AV_EF_AGGRESSIVE 0
>> +#endif
>
> Internal API abuse strikes back?
>
> We have the rest of these hacks in configure...

I don't think so. In FFmpeg, this seems to be part of the public API:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/avcodec.h#l2777

However, the values look odd to me: instead of continuing with "2^4",
these extra flags start with "2^16", etc.

-- 
regards,
    Reinhard


More information about the MPlayer-dev-eng mailing list