Commit d71d1775 authored by Thomas Guillem's avatar Thomas Guillem

aout: fix aout_CheckChannelExtraction return value

This function returns true if channel extraction is needed.

If layouts are the same, channel extraction should be needed only if the number
of channels is different.
parent 70a66966
......@@ -511,7 +511,7 @@ bool aout_CheckChannelExtraction( int *pi_selection,
if( pi_selection[i] != i )
return true;
}
return i_out == i_channels;
return i_out != i_channels;
}
/* Return the order in which filters should be inserted */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment