sonic: set avctx->channels in sonic_decode_init
Otherwise it can be 0 in sonic_decode_frame, causing SIGFPE crashes. Reviewed-by:Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Showing
Otherwise it can be 0 in sonic_decode_frame, causing SIGFPE crashes. Reviewed-by:Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
mentioned in commit f87d76e6
·mentioned in commit f87d76e6