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>
Sat, 4 Oct 2014 21:52:28 +0000 (23:52 +0200)
commita9b9751bc88ac6dc38b99f6370dfecb2bfa6c008
tree69c5b7d98c8684e175e2c8f6480c7a963a9ffc46
parentda5e52010ce8b29e5ec7815477b49a2f3c0ba3df
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