avcodec/ac3enc_template: fix out of array read
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Sep 2014 18:34:44 +0000 (20:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 01:40:59 +0000 (03:40 +0200)
commitca2ccd85d7d1d0cb0c90f9da965a53bb98187b8f
tree104138cc8d204f07de2d2fa7d64be720b6d67053
parent437f6fb488416f602ded7f0d4fc41ca1f227d4a7
avcodec/ac3enc_template: fix out of array read

Found-by: Andreas Cadhalpun
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d85ebea3f3b68ebccfe308fa839fc30fa634e4de)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3enc_template.c