aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-15 20:59:22 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-28 02:42:14 +0200
commita5bc5dd49ae1ed29489f9c8ba88387322c376bf1 (patch)
tree4a7e4a2c6516dcb0f5756ad56b8fc8cd81d5d2bd /libavcodec/rv40.c
parent5464da89056698856d919585256bb422558eb554 (diff)
downloadffmpeg-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 'libavcodec/rv40.c')
0 files changed, 0 insertions, 0 deletions