[FFmpeg-devel] [PATCH] mpeg4videodec: silence "Invalid andinefficient vfw-avi packed B frames detected" warning

Don Moir donmoir at comcast.net
Mon Sep 9 02:31:52 CEST 2013


> On Tue, Sep 03, 2013 at 04:35:35PM -0400, Don Moir wrote:
>> >Though for some reason this yet again seems to have degenerated into
>> >an IMO fairly pointless back and forth, with no attention
>> >or comments that would allow me to understand the issue and where I
>> >might have misunderstood the problem on the two suggestions I had
>>
>> Yes exactly. All I said was I would compile out the warnings if
>> good... just a switch mind you.. just a comment and not to generate
>> endless BS
>>
>> I expect the name calling to happen next :)

>> But since it's not something that could be done trivially with a
>> macro or so I'm not sure it's worth it, but it's interesting to
>> consider.

>Possibly not to trivial not sure. One thing is the fatals would have to be separated.

This seems to work for me but have not tried with GCC.

in log.h

#ifdef _NOWARNINGS
    inline void av_log(void *avc1, int level, const char *fmt,...){}
#else
    void av_log(void *avc1, int level, const char *fmt,...);
#endif

in log.c av_log (...) would need #ifdef

fatals still need to be separate


More information about the ffmpeg-devel mailing list