summaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2015-06-15 20:59:22 +0200
committerMichael Niedermayer <[email protected]>2015-07-20 04:43:40 +0200
commit5019f8d10c081c7c19e70b9da4de17d6b694570e (patch)
tree8aad770942b5a3b7f288f6edfd1a97e9a113d327 /tests/tiny_psnr.c
parent476cf3eb7e6f959bb2afe5959c86cb18f253eb26 (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/tiny_psnr.c')
0 files changed, 0 insertions, 0 deletions