diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 6dc0874751..97d1e218d5 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -165,8 +165,8 @@ OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o OBJS-$(CONFIG_ADPCM_4XM_ENCODER) += adpcm.o -OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adpcm.o -OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adpcm.o +OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adx.o +OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adx.o OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o OBJS-$(CONFIG_ADPCM_CT_ENCODER) += adpcm.o OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 22a710d4aa..796cd267c3 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1357,7 +1357,6 @@ ADPCM_CODEC(CODEC_ID_ADPCM_IMA_SMJPEG, adpcm_ima_smjpeg); ADPCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms); ADPCM_CODEC(CODEC_ID_ADPCM_4XM, adpcm_4xm); ADPCM_CODEC(CODEC_ID_ADPCM_XA, adpcm_xa); -ADPCM_CODEC(CODEC_ID_ADPCM_ADX, adpcm_adx); ADPCM_CODEC(CODEC_ID_ADPCM_EA, adpcm_ea); ADPCM_CODEC(CODEC_ID_ADPCM_CT, adpcm_ct); ADPCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf); diff --git a/libavcodec/adx.c b/libavcodec/adx.c index fb91f652cf..c8c7855903 100644 --- a/libavcodec/adx.c +++ b/libavcodec/adx.c @@ -385,8 +385,8 @@ static int adx_decode_frame(AVCodecContext *avctx, } #ifdef CONFIG_ENCODERS -AVCodec adx_adpcm_encoder = { - "adx_adpcm", +AVCodec adpcm_adx_encoder = { + "adpcm_adx", CODEC_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, sizeof(ADXContext), @@ -397,8 +397,8 @@ AVCodec adx_adpcm_encoder = { }; #endif //CONFIG_ENCODERS -AVCodec adx_adpcm_decoder = { - "adx_adpcm", +AVCodec adpcm_adx_decoder = { + "adpcm_adx", CODEC_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, sizeof(ADXContext),