diff options
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r-- | libavcodec/alsdec.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 055bfd0d04..1ab72ad4dd 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -1739,14 +1739,13 @@ static av_cold void flush(AVCodecContext *avctx) AVCodec ff_als_decoder = { - "als", - AVMEDIA_TYPE_AUDIO, - CODEC_ID_MP4ALS, - sizeof(ALSDecContext), - decode_init, - NULL, - decode_end, - decode_frame, + .name = "als", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_MP4ALS, + .priv_data_size = sizeof(ALSDecContext), + .init = decode_init, + .close = decode_end, + .decode = decode_frame, .flush = flush, .capabilities = CODEC_CAP_SUBFRAMES, .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"), |