Mercurial > libavcodec.hg
diff avcodec.h @ 7241:239031d20617 libavcodec
Deprecate avcodec_build(), it returns the same value as
avcodec_version().
author | andoma |
---|---|
date | Fri, 11 Jul 2008 15:25:12 +0000 |
parents | 21f5d934ccbd |
children | 48dd72fdca91 |
line wrap: on
line diff
--- a/avcodec.h Fri Jul 11 07:48:37 2008 +0000 +++ b/avcodec.h Fri Jul 11 15:25:12 2008 +0000 @@ -2516,8 +2516,10 @@ /* returns LIBAVCODEC_VERSION_INT constant */ unsigned avcodec_version(void); +#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) /* returns LIBAVCODEC_BUILD constant */ -unsigned avcodec_build(void); +attribute_deprecated unsigned avcodec_build(void); +#endif /** * Initializes libavcodec.