Mercurial > libavcodec.hg
changeset 8751:303929f52007 libavcodec
Replace the calls to the deprecated function register_avcodec() with
corresponding calls to avcodec_register().
author | stefano |
---|---|
date | Fri, 06 Feb 2009 23:50:54 +0000 |
parents | 2528b6a2b5d3 |
children | 7fd1422a8703 |
files | allcodecs.c avcodec.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/allcodecs.c Fri Feb 06 23:46:15 2009 +0000 +++ b/allcodecs.c Fri Feb 06 23:50:54 2009 +0000 @@ -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) { \
--- a/avcodec.h Fri Feb 06 23:46:15 2009 +0000 +++ b/avcodec.h Fri Feb 06 23:50:54 2009 +0000 @@ -2879,7 +2879,7 @@ * 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 */