diff avcodec.h @ 8752:7fd1422a8703 libavcodec

Drop the deprecated function register_avcodec() at the next major version bump.
author stefano
date Fri, 06 Feb 2009 23:54:50 +0000
parents 303929f52007
children 2a43b46067c4
line wrap: on
line diff
--- a/avcodec.h	Fri Feb 06 23:50:54 2009 +0000
+++ b/avcodec.h	Fri Feb 06 23:54:50 2009 +0000
@@ -2604,10 +2604,12 @@
  */
 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.