OSDN Git Service

qdm2: increase noise_table size
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 28 Jan 2013 18:34:55 +0000 (19:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 28 Jan 2013 18:41:51 +0000 (19:41 +0100)
commit8c4aebb58d00fd613f3f684bf0f869966149ae78
treee93d5a47cf1f8a24194b965a4c299c36e324cf41
parent4484c722f68e6a54b8bd701d391897bc092b4404
qdm2: increase noise_table size

This prevents out of array reads. An alternative solution would be
to check the index but this would require several checks in the
inner loops

Yet another alternative would be to change the index reset logic
but this likely would introduce a difference to the binary decoder

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qdm2_tablegen.h