af_lavrresample: fix comment

mp_format is not a libavresample input format here, and the comment was
more confusing than it helped.
This commit is contained in:
wm4 2015-06-22 16:00:26 +02:00
parent 3d55340c6d
commit cd78e0c5bf
1 changed files with 4 additions and 4 deletions

View File

@ -167,10 +167,10 @@ static bool needs_lavrctx_reconfigure(struct af_resample *s,
}
// Return the format libavresample should convert to, given the input format
// mp_format. In some cases (S24) we perform an extra conversion step, and
// signal here what exactly libavresample should output. It will be the input
// to the final conversion to mp_format.
// Return the format libavresample should convert to, given the final output
// format mp_format. In some cases (S24) we perform an extra conversion step,
// and signal here what exactly libavresample should output. It will be the
// input to the final conversion to mp_format.
static int check_output_conversion(int mp_format)
{
if (mp_format == AF_FORMAT_S24)