avcodec/ac3dec: Fix: runtime error: index -1 out of bounds for type 'INTFLOAT [2]'
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 May 2017 12:42:45 +0000 (14:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 May 2017 13:30:08 +0000 (15:30 +0200)
commitc55e637072b694a1db40e21948d218bfa2e744bb
treec75f8d718a136841ddd81019489a2a615d4974b1
parentb923213276777f33d6366b1cb9d1845a8658f365
avcodec/ac3dec: Fix: runtime error: index -1 out of bounds for type 'INTFLOAT [2]'

It seems dual mono with a LFE channel is not forbidden

Fixes: 1570/clusterfuzz-testcase-minimized-6455337349545984

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ac3dec.c