diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-15 21:06:51 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-19 20:31:27 +0200 |
commit | 973e67e5d2d491c9687d4e3cb6d9c0e1563fc6ce (patch) | |
tree | 2dbc2d27aeb6a6f1a29aac064ef597627db2e6d5 /libavfilter/vf_scale.c | |
parent | d89cd16afa97771f2950b2ee783e9b4ad6e75b57 (diff) | |
download | ffmpeg-973e67e5d2d491c9687d4e3cb6d9c0e1563fc6ce.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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/vf_scale.c')
0 files changed, 0 insertions, 0 deletions