[FFmpeg-devel] [FFmpeg-cvslog] disable deprecation warnings in deprecated code

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Aug 23 11:24:06 CEST 2015

On 23.08.2015 11:05, Hendrik Leppkes wrote:
> On Sun, Aug 23, 2015 at 10:51 AM, Andreas Cadhalpun
>> So instead of including that, one can copy the definition of the
>> FF_{DIS,EN}ABLE_DEPRECATION_WARNINGS macros, see attached patch.
>> Alternatively one could just revert the changes to libavcodec/options_table.h
>> and ignore the warnings in that file.
> Copying the macros is unnecessary bloat. Either just enable the
> warnings there again,

OK, patch for that attached.

> or hack around in print_options.c to make it
> avoid the error in other ways.

I don't think that's worth the trouble.

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-options_table-fix-compatibility-with-MSVC.patch
Type: text/x-diff
Size: 1492 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150823/fe0ac09e/attachment.patch>

More information about the ffmpeg-devel mailing list