aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/file.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-08-20 14:38:26 +0200
commitb3745ce8c26138cf5d1239a822335a9dbd2fb45d (patch)
treea6985c2b5471eada452add53e4e60d401379e40e /libavutil/file.c
parent933ae708c5fca9e65dde3abf8927e10498bdee55 (diff)
downloadffmpeg-b3745ce8c26138cf5d1239a822335a9dbd2fb45d.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 'libavutil/file.c')
0 files changed, 0 insertions, 0 deletions