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-19 20:31:12 +0200 |
commit | d89cd16afa97771f2950b2ee783e9b4ad6e75b57 (patch) | |
tree | b33c11932c847a52ae0f828315760a3a3edeadb1 /LICENSE.md | |
parent | 7cbceb16ade6937d0f8b5e7d92e8acfc1a00f088 (diff) | |
download | ffmpeg-d89cd16afa97771f2950b2ee783e9b4ad6e75b57.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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions