aacps: avoid division by zero in stereo_processing
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Sun, 8 Nov 2015 21:04:08 +0000 (22:04 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Tue, 10 Nov 2015 01:33:24 +0000 (01:33 +0000)
commitef7fe9851e0913a2e8d27d55bcb84847a6efa7ca
treedcad64eff951b414ff446a8d52506737e220589f
parent6c2dbff7f08ccbf69adb23ada48bb36ba796e772
aacps: avoid division by zero in stereo_processing

This fixes a SIGFPE crash in the aac_fixed decoder.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/aacps.c