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>
Sun, 5 Oct 2014 12:20:32 +0000 (14:20 +0200)
commitf1dd34300709140637a9f9d681d3f1e0d62979b9
treec0f705cce340a75ef919e6a4bb6c3fcdeea0ace7
parentbe894938c44f8b038177c1178ba7e587a8123371
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