diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-06 23:50:54 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-06 23:50:54 +0000 |
commit | 9be26823b90f975f27c17ec917e5bd0a74f825a1 (patch) | |
tree | 6dd5406db58798ffb778bc1728af359457dfded8 /libavcodec | |
parent | 85662f4935e1a0ff657162acaf1a707250271c53 (diff) | |
download | ffmpeg-9be26823b90f975f27c17ec917e5bd0a74f825a1.tar.gz |
Replace the calls to the deprecated function register_avcodec() with
corresponding calls to avcodec_register().
Originally committed as revision 17027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/allcodecs.c | 4 | ||||
-rw-r--r-- | libavcodec/avcodec.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 1ef106a561..0cb0e6d239 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -28,10 +28,10 @@ #define REGISTER_ENCODER(X,x) { \ extern AVCodec x##_encoder; \ - if(CONFIG_##X##_ENCODER) register_avcodec(&x##_encoder); } + if(CONFIG_##X##_ENCODER) avcodec_register(&x##_encoder); } #define REGISTER_DECODER(X,x) { \ extern AVCodec x##_decoder; \ - if(CONFIG_##X##_DECODER) register_avcodec(&x##_decoder); } + if(CONFIG_##X##_DECODER) avcodec_register(&x##_decoder); } #define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x) #define REGISTER_PARSER(X,x) { \ diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0c1902ae71..ea095c97c6 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2879,7 +2879,7 @@ int avcodec_close(AVCodecContext *avctx); * which formats you want to support, by using the individual registration * functions. * - * @see register_avcodec + * @see avcodec_register * @see av_register_codec_parser * @see av_register_bitstream_filter */ |