diff options
| author | Andreas Cadhalpun <[email protected]> | 2015-06-15 20:59:22 +0200 |
|---|---|---|
| committer | Andreas Cadhalpun <[email protected]> | 2015-06-19 20:31:12 +0200 |
| commit | d89cd16afa97771f2950b2ee783e9b4ad6e75b57 (patch) | |
| tree | b33c11932c847a52ae0f828315760a3a3edeadb1 /libavcodec/h264_parser.c | |
| parent | 7cbceb16ade6937d0f8b5e7d92e8acfc1a00f088 (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: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavcodec/h264_parser.c')
0 files changed, 0 insertions, 0 deletions
