Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-07 02:54:50 +0300
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-07 02:54:50 +0300
commit9d385cfec45145eb0bd141120bdcae56a4e5660b (patch)
tree5eca141b2868fb309f00c5b52c0b6bff2366370e /libavcodec/utils.c
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/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4f35f759c0..b1579aec3b 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -98,10 +98,12 @@ void avcodec_register(AVCodec *codec)
codec->next = NULL;
}
+#if LIBAVCODEC_VERSION_MAJOR < 53
void register_avcodec(AVCodec *codec)
{
avcodec_register(codec);
}
+#endif
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
s->coded_width = width;