diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-15 21:06:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-20 14:38:25 +0200 |
commit | 933ae708c5fca9e65dde3abf8927e10498bdee55 (patch) | |
tree | ac9a575cf32b9d00b74fb7275462c4687a38f5f5 /libavcodec/sipr16kdata.h | |
parent | e588252a429ca60408813191350891680e848dfd (diff) | |
download | ffmpeg-933ae708c5fca9e65dde3abf8927e10498bdee55.tar.gz |
matroskadec: validate audio channels and bitdepth
In the TTA extradata re-construction the values are written with
avio_wl16 and if they don't fit into uint16_t, this triggers an
av_assert2 in avio_w8.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 92e79a2f7bf2f8bb0cb2d1a3e4d76737557071c4)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sipr16kdata.h')
0 files changed, 0 insertions, 0 deletions