summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-22 16:00:26 +0200
committerwm4 <wm4@nowhere>2015-06-22 16:06:40 +0200
commitcd78e0c5bfa88c8bfc57bd49a2619c78084372ec (patch)
tree69f5fd2010d7a21bccc4dd427684091bb1c45812 /audio
parent3d55340c6d22e68ee6b9eaac44fa80969fc1ba4b (diff)
downloadmpv-cd78e0c5bfa88c8bfc57bd49a2619c78084372ec.tar.bz2
mpv-cd78e0c5bfa88c8bfc57bd49a2619c78084372ec.tar.xz
af_lavrresample: fix comment
mp_format is not a libavresample input format here, and the comment was more confusing than it helped.
Diffstat (limited to 'audio')
-rw-r--r--audio/filter/af_lavrresample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c
index 89fe2c414c..136b585f4f 100644
--- a/audio/filter/af_lavrresample.c
+++ b/audio/filter/af_lavrresample.c
@@ -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)