X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fs302m.c;h=60d154788404aee7aaa53882c8680074e7a400fa;hb=a247ac640df3da573cd661065bf53f37863e2b46;hp=584b58e28e323816b1104453088d112b92251ea3;hpb=ce47f1589e9f5a6cf8372a269bdd862ff0cc3f91;p=ffmpeg diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c index 584b58e28e3..60d15478840 100644 --- a/libavcodec/s302m.c +++ b/libavcodec/s302m.c @@ -218,13 +218,14 @@ static const AVClass s302m_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVCodec ff_s302m_decoder = { +const AVCodec ff_s302m_decoder = { .name = "s302m", .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_S302M, .priv_data_size = sizeof(S302Context), .decode = s302m_decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_CHANNEL_CONF | + AV_CODEC_CAP_DR1, .priv_class = &s302m_class, };