diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-10-23 18:25:15 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-07 02:51:49 +0300 |
commit | 34aeb5dbc4fe7267df5f0ebe2ec84c5a8d36a896 (patch) | |
tree | 352de424e5b0c2f879648e639902bf2214901269 /libavformat/hls.c | |
parent | 54b8fbbc5dc9b74e0a96d7730bfacc8bc1b59e85 (diff) |
xmv: validate sample_rate
AVCodecParameters.sample_rate is a signed integer, so
XMVAudioPacket.sample_rate should be, too.
A negative sample rate doesn't make sense and triggers assertions in
av_rescale_rnd.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/hls.c')
0 files changed, 0 insertions, 0 deletions