]> git.sesse.net Git - ffmpeg/commit
voc_packet: validate sample_rate
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 23 Oct 2016 15:19:20 +0000 (17:19 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 6 Nov 2016 23:51:49 +0000 (00:51 +0100)
commit54b8fbbc5dc9b74e0a96d7730bfacc8bc1b59e85
treedde329e726b5f546bb35724cc001226e4560d3ce
parenteb205eda3fec9959037c419548b1ebfaa6c59c33
voc_packet: validate sample_rate

A negative sample rate doesn't make sense and triggers assertions in
av_rescale_rnd.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/voc_packet.c