diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-15 20:59:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-28 02:42:14 +0200 |
commit | a5bc5dd49ae1ed29489f9c8ba88387322c376bf1 (patch) | |
tree | 4a7e4a2c6516dcb0f5756ad56b8fc8cd81d5d2bd /libavformat/cinedec.c | |
parent | 5464da89056698856d919585256bb422558eb554 (diff) | |
download | ffmpeg-a5bc5dd49ae1ed29489f9c8ba88387322c376bf1.tar.gz |
matroskadec: check audio sample rate
And default to 8000 if it is invalid.
An invalid sample rate can trigger av_assert2 in av_rescale_rnd.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 5b76c82fd7a5f4f36bb901b8c43d7f7319599599)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/cinedec.c')
0 files changed, 0 insertions, 0 deletions