avformat/matroskadec: check out_samplerate before using it in av_rescale()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 18 Aug 2013 00:20:54 +0000 (02:20 +0200)
committerJames Almer <jamrial@gmail.com>
Wed, 18 Sep 2013 18:07:49 +0000 (15:07 -0300)
commitdbb534cea6b2b135485fd04cea022d08a350ac37
tree188a5acc054a2ef0d953743e4f39e2d4af512ab5
parent414d75b8bc06ac97cc78de318689b9a1c2074399
avformat/matroskadec: check out_samplerate before using it in av_rescale()

Prevent assertion failure with damaged input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 338f8b2eaf36f078eb5cc26ac10e651dc4c48243)
libavformat/matroskadec.c