Commit 491eaf35 authored by Laurent Aimar's avatar Laurent Aimar Committed by Michael Niedermayer

Fix out of bound reads in the QDM2 decoder.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 346876ec
......@@ -1354,6 +1354,8 @@ static void qdm2_fft_decode_tones (QDM2Context *q, int duration, GetBitContext *
return;
local_int_14 = (offset >> local_int_8);
if (local_int_14 >= FF_ARRAY_ELEMS(fft_level_index_table))
return;
if (q->nb_channels > 1) {
channel = get_bits1(gb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment