diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-15 20:59:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-20 14:38:26 +0200 |
commit | b3745ce8c26138cf5d1239a822335a9dbd2fb45d (patch) | |
tree | a6985c2b5471eada452add53e4e60d401379e40e /libavutil/atomic.h | |
parent | 933ae708c5fca9e65dde3abf8927e10498bdee55 (diff) | |
download | ffmpeg-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/atomic.h')
0 files changed, 0 insertions, 0 deletions