]> git.sesse.net Git - ffmpeg/commit
avcodec: set AV_CODEC_CAP_CHANNEL_CONF on decoders which set their own channels
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 5 Dec 2020 10:41:23 +0000 (11:41 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Thu, 10 Dec 2020 12:28:35 +0000 (13:28 +0100)
commit494f868e93d1d671497d0d0884368f015eb7d31e
treef214048a116ee15a1b747c9aaeecdeec2c2ec3cf
parent412c3b37a410c90820bb37308ed55df5aa75e2cc
avcodec: set AV_CODEC_CAP_CHANNEL_CONF on decoders which set their own channels

The decoders in this set either have a fixed channel count, or read it
from the bitstream, and thus do not require the channel count as
external information.

Fixes various regressions since
81503ac58a763a36b1f57264013b1e76acb62b68, which requires a valid channel
count for decoders which do not set this capability.

Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
44 files changed:
libavcodec/alac.c
libavcodec/alsdec.c
libavcodec/amrnbdec.c
libavcodec/amrwbdec.c
libavcodec/atrac9dec.c
libavcodec/audiotoolboxdec.c
libavcodec/bmvaudio.c
libavcodec/cngdec.c
libavcodec/dsicinaudio.c
libavcodec/dss_sp.c
libavcodec/evrcdec.c
libavcodec/g722dec.c
libavcodec/g726.c
libavcodec/gsmdec.c
libavcodec/ilbcdec.c
libavcodec/imc.c
libavcodec/libcodec2.c
libavcodec/libgsmdec.c
libavcodec/libilbc.c
libavcodec/libopencore-amr.c
libavcodec/libopusdec.c
libavcodec/libspeexdec.c
libavcodec/libvorbisdec.c
libavcodec/metasound.c
libavcodec/mlpdec.c
libavcodec/mpc8.c
libavcodec/nellymoserdec.c
libavcodec/opusdec.c
libavcodec/pcm-bluray.c
libavcodec/qcelpdec.c
libavcodec/qdm2.c
libavcodec/qdmc.c
libavcodec/ra144dec.c
libavcodec/ra288.c
libavcodec/sbcdec.c
libavcodec/sipr.c
libavcodec/sonic.c
libavcodec/takdec.c
libavcodec/tta.c
libavcodec/twinvqdec.c
libavcodec/vima.c
libavcodec/vorbisdec.c
libavcodec/wavpack.c
libavcodec/ws-snd1.c