[FFmpeg-devel] [PATCH] check if channel layout matches number of channels
Sun Apr 19 01:41:14 CEST 2009
Currently the output channel layout is always set to the input channel
layout, even when upmixing or downmixing. This patch checks that the
channel layout matches the number of channels. If it does not, the
output channel layout is set to 0.
I put the function in audioconvert.c/h so that encoders and decoders can
also use it to validate the input.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1933 bytes
Desc: not available
More information about the ffmpeg-devel