[FFmpeg-devel] [PATCH] check if channel layout matches number of channels
Justin Ruggles
justin.ruggles
Sun Apr 19 01:41:14 CEST 2009
Hi,
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.
-Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: channel_layout_num_channels.diff
Type: text/x-diff
Size: 1933 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090418/f5192eeb/attachment.diff>
More information about the ffmpeg-devel
mailing list