diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2008-07-11 15:25:12 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2008-07-11 15:25:12 +0000 |
commit | 0261e3651a9e09bd661fd338a79e04bc0a02cf71 (patch) | |
tree | 17a0a0515b1dfa2212994cb1dd4224430a767c15 /libavcodec/avcodec.h | |
parent | 876ef93d99c01bad849fb39a40d099944a2881d5 (diff) | |
download | ffmpeg-streaming-0261e3651a9e09bd661fd338a79e04bc0a02cf71.zip ffmpeg-streaming-0261e3651a9e09bd661fd338a79e04bc0a02cf71.tar.gz |
Deprecate avcodec_build(), it returns the same value as
avcodec_version().
Originally committed as revision 14169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5fb945c..f7532f7 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2516,8 +2516,10 @@ AVCodec *av_codec_next(AVCodec *c); /* 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. |