X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fws-snd1.c;h=aa8cd0f5f99552a432d3ae3f0e16d035737bf9b5;hb=a247ac640df3da573cd661065bf53f37863e2b46;hp=0f005807ae826612bca9b7963c63529fa9f6e1b5;hpb=b2f32d60eeaf883bb7d9e1b8cc2fb9a983d08f72;p=ffmpeg diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index 0f005807ae8..aa8cd0f5f99 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.c @@ -170,12 +170,13 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, void *data, return buf_size; } -AVCodec ff_ws_snd1_decoder = { +const AVCodec ff_ws_snd1_decoder = { .name = "ws_snd1", .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_WESTWOOD_SND1, .init = ws_snd_decode_init, .decode = ws_snd_decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };