summaryrefslogtreecommitdiff
path: root/libavcodec/adxdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/adxdec.c')
-rw-r--r--libavcodec/adxdec.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c
index 48acc659cc..79fcf13c31 100644
--- a/libavcodec/adxdec.c
+++ b/libavcodec/adxdec.c
@@ -167,14 +167,12 @@ static int adx_decode_frame(AVCodecContext *avctx,
}
AVCodec ff_adpcm_adx_decoder = {
- "adpcm_adx",
- AVMEDIA_TYPE_AUDIO,
- CODEC_ID_ADPCM_ADX,
- sizeof(ADXContext),
- adx_decode_init,
- NULL,
- NULL,
- adx_decode_frame,
+ .name = "adpcm_adx",
+ .type = AVMEDIA_TYPE_AUDIO,
+ .id = CODEC_ID_ADPCM_ADX,
+ .priv_data_size = sizeof(ADXContext),
+ .init = adx_decode_init,
+ .decode = adx_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
};