X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fevrcdec.c;h=436c9d1373d8c87d60b8c0e7603d4395eda66f2d;hb=a247ac640df3da573cd661065bf53f37863e2b46;hp=8728c02a3b10a138fe19cf6bd238f17cbdb73304;hpb=ebdc5c419aef0d9eed8c1ec57b30238194c1db0a;p=ffmpeg diff --git a/libavcodec/evrcdec.c b/libavcodec/evrcdec.c index 8728c02a3b1..436c9d1373d 100644 --- a/libavcodec/evrcdec.c +++ b/libavcodec/evrcdec.c @@ -928,14 +928,14 @@ static const AVClass evrcdec_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVCodec ff_evrc_decoder = { +const AVCodec ff_evrc_decoder = { .name = "evrc", .long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_EVRC, .init = evrc_decode_init, .decode = evrc_decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, .priv_data_size = sizeof(EVRCContext), .priv_class = &evrcdec_class, };