diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-15 20:59:22 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-06-16 21:45:45 +0200 |
commit | 5b76c82fd7a5f4f36bb901b8c43d7f7319599599 (patch) | |
tree | 5aac6f119a71b80d2d369be7c24c27b177fe85b2 /libavformat/audiointerleave.h | |
parent | e0dac40306928bf544a34f4054504654e8f374d0 (diff) | |
download | ffmpeg-5b76c82fd7a5f4f36bb901b8c43d7f7319599599.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>
Diffstat (limited to 'libavformat/audiointerleave.h')
0 files changed, 0 insertions, 0 deletions