X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fadxdec.c;h=df3e8dd355ce70a622e628b3fd425027126f7312;hb=f1b5693027d48a9e448f21595fb9247893c225cf;hp=991528a7d2ed200059010daf117dccdf84240000;hpb=5dc6bd86f0f5cfffb44b47e6e916119f26b12091;p=ffmpeg diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index 991528a7d2e..df3e8dd355c 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"), };