avcodec/mpc8huff: Make some arrays unsigned to prevent overflow
mpc8_q4_syms is an array of int8_t that is initialized using values not in the range of an int8_t and that is only accessed via a pointer to uint8_t in ff_init_vlc_sparse. The latter applies to all the other *_bits and *_syms tables in mpc8huff.h, so make them all unsigned. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Showing
Please
register
or
sign in
to comment