diff options
author | Andreas Cadhalpun <[email protected]> | 2015-06-15 20:59:22 +0200 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2015-06-16 21:45:45 +0200 |
commit | 5b76c82fd7a5f4f36bb901b8c43d7f7319599599 (patch) | |
tree | 5aac6f119a71b80d2d369be7c24c27b177fe85b2 /libavformat/avformatres.rc | |
parent | e0dac40306928bf544a34f4054504654e8f374d0 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavformat/avformatres.rc')
0 files changed, 0 insertions, 0 deletions