Mercurial > libavcodec.hg
changeset 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 | 2552555c8a92 |
children | d90bc6cc1bfd |
files | avcodec.h utils.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
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.