Mercurial > libavcodec.hg
diff avcodec.h @ 8750:2528b6a2b5d3 libavcodec
Rename register_avcodec() as avcodec_register() and deprecate the old
function name.
author | stefano |
---|---|
date | Fri, 06 Feb 2009 23:46:15 +0000 |
parents | a261e3271d1f |
children | 303929f52007 |
line wrap: on
line diff
--- a/avcodec.h Fri Feb 06 13:04:39 2009 +0000 +++ b/avcodec.h Fri Feb 06 23:46:15 2009 +0000 @@ -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 @@ 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.