diff codec-cfg.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 47e1375c4d79
children 8a96cf601e57
line wrap: on
line diff