diff libaf/af_center.c @ 34254:f4c0388ddc74

Sanitize channel count for libaf to avoid crashes since it is used unchecked. af_downmix is an example of a function that can/will crash for invalid values. 0 is not invalid since it is used as "autodetect" for output.
author reimar
date Fri, 11 Nov 2011 17:15:13 +0000
parents a93891202051
children 2b9bc3c2933d
line wrap: on
line diff