mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-25 01:41:31 +08:00
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
This commit is contained in:
@@ -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) { \
|
||||
|
||||
Reference in New Issue
Block a user