summaryrefslogtreecommitdiff
path: root/libavcodec/siren.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-09-09 23:12:32 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-11-28 00:41:51 +0100
commit34f5a59ad5aa8baad2036321f63bf1e34ffdefb9 (patch)
tree3791a6611b545b386384ae511e3c631d07e90865 /libavcodec/siren.c
parent7a95cf86ff6b681b2ef43660c769a9b3cfd82e6a (diff)
downloadffmpeg-34f5a59ad5aa8baad2036321f63bf1e34ffdefb9.tar.gz
avcodec: Set AV_CODEC_CAP_CHANNEL_CONF in more decoders
Suggested-by: Paul B Mahol <onemda@gmail.com> See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channels Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/siren.c')
-rw-r--r--libavcodec/siren.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/siren.c b/libavcodec/siren.c
index 1c17d4505d..b1b4944562 100644
--- a/libavcodec/siren.c
+++ b/libavcodec/siren.c
@@ -774,7 +774,8 @@ AVCodec ff_siren_decoder = {
.close = siren_close,
.decode = siren_decode,
.flush = siren_flush,
- .capabilities = AV_CODEC_CAP_DR1,
+ .capabilities = AV_CODEC_CAP_CHANNEL_CONF |
+ AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
};