Commit 26d8cad2 authored by stefano's avatar stefano

Replace the calls to the deprecated function register_avcodec() with

corresponding calls to avcodec_register().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17027 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1639cbff
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
#define REGISTER_ENCODER(X,x) { \ #define REGISTER_ENCODER(X,x) { \
extern AVCodec x##_encoder; \ 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) { \ #define REGISTER_DECODER(X,x) { \
extern AVCodec x##_decoder; \ 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_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
#define REGISTER_PARSER(X,x) { \ #define REGISTER_PARSER(X,x) { \
......
...@@ -2879,7 +2879,7 @@ int avcodec_close(AVCodecContext *avctx); ...@@ -2879,7 +2879,7 @@ int avcodec_close(AVCodecContext *avctx);
* which formats you want to support, by using the individual registration * which formats you want to support, by using the individual registration
* functions. * functions.
* *
* @see register_avcodec * @see avcodec_register
* @see av_register_codec_parser * @see av_register_codec_parser
* @see av_register_bitstream_filter * @see av_register_bitstream_filter
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment