comparison libao2/ao_esd.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 b8cc88eef14e
children 6ec928ab8112
comparison
equal deleted inserted replaced
34253:c363052bde0b 34254:f4c0388ddc74