Mostly related to channel layout and sample rate. Also reduces some
usage of private context copies of AVCodecContext fields.
Justin Ruggles (45):
lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM
decoders
lavc: check channel count after decoder init
dca_parser: allow the parser to change the sample rate
amrnbdec: set channels, channel_layout, and sample_rate
amrwbdec: set channels, channel_layout, and sample_rate
g722dec: set channel layout at initialization instead of validating
it
dsicinaudio: set channels and channel layout
atrac1: do not keep a copy of channel count in the private context
bmvaudio: set channel layout at init() rather than validating it
cook: use AVCodecContext.channels instead of keeping a private copy
cook: remove unneeded COOKContext variable, bit_rate
cook: remove unneeded COOKContext variable, sample_rate
cook: reverse a condition so that the code makes more sense
cook: use av_get_channel_layout_nb_channels() instead of
cook_count_channels()
cook: move samples_per_frame from COOKSubpacket to where it is used
cook: use av_dlog() for debug logging instead of av_log() with
AV_LOG_ERROR
dcadec: allow the decoder to change the channel layout mid-stream
flacdec: use av_samples_* functions for sample buffer allocation
flacdec: allow mid-stream channel layout change
flacdec: do not warn on sample rate change
g726dec: set channel layout at initialization instead of validating
it
g726dec: do not validate sample rate
libgsmdec: always set channel layout and sample rate at
initialization
gsmdec: always set channel layout and sample rate at initialization
imc: set channels to 1 instead of validating it
dpcm: use AVCodecContext.channels instead of keeping a private copy
libilbc: set channel layout
libopencore-amr: set channel layout for amr-nb or if not set by the
user
nellymoserdec: set channels to 1
qcelpdec: set channel layout
qdm2: make sure channels is not <= 0 and set channel layout
qdm2: remove unneeded checks for channel count
ra144dec: set channel layout
ra288dec: set channel layout
shorten: validate that the channel count in the header is not <= 0
sipr: set channel layout
truespeech: set channel layout
twinvq: validate that channels is not <= 0
twinvq: set channel layout
twinvq: validate sample rate code
vmdaudio: set channel layout
wma: do not keep private copies of some AVCodecContext fields
wmapro: use AVCodecContext.channels instead of keeping a private copy
wmavoice: set channel layout
ws-snd1: set channel layout
libavcodec/amrnbdec.c | 6 +++-
libavcodec/amrwbdec.c | 6 +++-
libavcodec/atrac1.c | 6 +--
libavcodec/bmv.c | 10 ++---
libavcodec/cook.c | 56 +++++++++++---------------------
libavcodec/dca_parser.c | 3 +-
libavcodec/dcadec.c | 18 +---------
libavcodec/dpcm.c | 14 +++----
libavcodec/dsicinav.c | 12 +++----
libavcodec/flac.c | 19 +++++++++++
libavcodec/flac.h | 3 ++
libavcodec/flac_parser.c | 1 +
libavcodec/flacdec.c | 74 +++++++++++++++++++++--------------------
libavcodec/g722dec.c | 9 ++---
libavcodec/g726.c | 16 ++-------
libavcodec/gsmdec.c | 9 +++--
libavcodec/imc.c | 6 ++-
libavcodec/internal.h | 2 +
libavcodec/libgsm.c | 18 +++-------
libavcodec/libilbc.c | 8 +++--
libavcodec/libopencore-amr.c | 10 +++--
libavcodec/nellymoserdec.c | 1 +
libavcodec/pcm.c | 4 +-
libavcodec/qcelpdec.c | 5 ++-
libavcodec/qdm2.c | 13 ++-----
libavcodec/ra144dec.c | 5 ++-
libavcodec/ra288.c | 7 +++-
libavcodec/shorten.c | 2 +-
libavcodec/sipr.c | 5 ++-
libavcodec/truespeech.c | 4 ++-
libavcodec/twinvq.c | 11 ++++++-
libavcodec/utils.c | 8 +++-
libavcodec/vmdav.c | 4 ++
libavcodec/wma.c | 36 +++++++++-----------
libavcodec/wma.h | 4 --
libavcodec/wmadec.c | 34 +++++++++---------
libavcodec/wmaenc.c | 30 ++++++++--------
libavcodec/wmaprodec.c | 52 ++++++++++++++---------------
libavcodec/wmavoice.c | 3 ++
libavcodec/ws-snd1.c | 11 +++---
40 files changed, 274 insertions(+), 271 deletions(-)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel