[FFmpeg-devel] [PATCH] Replace AV_PKT_DATA_QUALITY_FACTOR by AV_PKT_DATA_QUALITY_STATS
michael at niedermayer.cc
Thu Jul 23 12:54:25 CEST 2015
On Thu, Jul 23, 2015 at 12:28:24PM +0200, Nicolas George wrote:
> Le quartidi 4 thermidor, an CCXXIII, James Almer a écrit :
> > Both GCC and MSVC let you in theory deprecate enumerators
> > https://gcc.gnu.org/onlinedocs/gcc/Enumerator-Attributes.html
> > https://msdn.microsoft.com/en-us/library/c8xdzzhh.aspx
> > I tried the example shown there for GCC but it didn't work. I may
> > have done something wrong, though.
> With gcc, I have tried the same thing and it had no effect.
> Since deprecated types work, there is a possible hack:
> typedef int ff_deprecated attribute_deprecated;
> #define DERECATED_INT_MACRO ((enum foo)(ff_deprecated)VALUE)
I think this could be usefull for deprecating preprocessor
symbols in general in FFmpeg
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel