aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
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/utils.c
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/utils.c')
-rw-r--r--libavcodec/utils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 26ce057e3c..4f35f759c0 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -88,7 +88,7 @@ AVCodec *av_codec_next(AVCodec *c){
else return first_avcodec;
}
-void register_avcodec(AVCodec *codec)
+void avcodec_register(AVCodec *codec)
{
AVCodec **p;
avcodec_init();
@@ -98,6 +98,11 @@ void register_avcodec(AVCodec *codec)
codec->next = NULL;
}
+void register_avcodec(AVCodec *codec)
+{
+ avcodec_register(codec);
+}
+
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
s->coded_width = width;
s->coded_height= height;