aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-06 23:46:15 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-06 23:46:15 +0000
commit85662f4935e1a0ff657162acaf1a707250271c53 (patch)
tree4cbcb2cfb14f3d95a9d4ac65dc3ae5fb22b7c2e7 /libavcodec/avcodec.h
parent21eff9ced790c4b8c697837213e7fc7aa44be62b (diff)
downloadffmpeg-85662f4935e1a0ff657162acaf1a707250271c53.tar.gz
Rename register_avcodec() as avcodec_register() and deprecate the old
function name. Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3f8a3d4a09..0c1902ae71 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -30,7 +30,7 @@
#include "libavutil/avutil.h"
#define LIBAVCODEC_VERSION_MAJOR 52
-#define LIBAVCODEC_VERSION_MINOR 13
+#define LIBAVCODEC_VERSION_MINOR 14
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
@@ -2605,11 +2605,16 @@ unsigned avcodec_version(void);
void avcodec_init(void);
/**
+ * @deprecated Deprecated in favor of avcodec_register().
+ */
+attribute_deprecated void register_avcodec(AVCodec *codec);
+
+/**
* Register the codec \p codec and initialize libavcodec.
*
* @see avcodec_init()
*/
-void register_avcodec(AVCodec *codec);
+void avcodec_register(AVCodec *codec);
/**
* Finds a registered encoder with a matching codec ID.