summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-06 23:54:50 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-06 23:54:50 +0000
commit9d385cfec45145eb0bd141120bdcae56a4e5660b (patch)
tree5eca141b2868fb309f00c5b52c0b6bff2366370e /libavcodec/avcodec.h
parent9be26823b90f975f27c17ec917e5bd0a74f825a1 (diff)
Drop the deprecated function register_avcodec() at the next major
version bump. Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ea095c97c6..c39355ef02 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2604,10 +2604,12 @@ unsigned avcodec_version(void);
*/
void avcodec_init(void);
+#if LIBAVCODEC_VERSION_MAJOR < 53
/**
* @deprecated Deprecated in favor of avcodec_register().
*/
attribute_deprecated void register_avcodec(AVCodec *codec);
+#endif
/**
* Register the codec \p codec and initialize libavcodec.