diff options
author | Andreas Cadhalpun <[email protected]> | 2015-06-15 20:59:22 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-07-20 04:43:40 +0200 |
commit | 5019f8d10c081c7c19e70b9da4de17d6b694570e (patch) | |
tree | 8aad770942b5a3b7f288f6edfd1a97e9a113d327 /tests/base64.c | |
parent | 476cf3eb7e6f959bb2afe5959c86cb18f253eb26 (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]>
(cherry picked from commit 5b76c82fd7a5f4f36bb901b8c43d7f7319599599)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'tests/base64.c')
0 files changed, 0 insertions, 0 deletions