]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_aconvert.c
Merge commit 'ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878'
[ffmpeg] / libavfilter / af_aconvert.c
index 10497aa7870b9877fdf11e8e4eb500a7bec97ae6..19095cb7e66c3f738df316cb6c6f2cd4d81d67b6 100644 (file)
@@ -66,7 +66,7 @@ static av_cold int init(AVFilterContext *ctx)
         (ret = ff_parse_sample_format(&aconvert->out_sample_fmt, aconvert->format_str, ctx)) < 0)
         return ret;
     if (aconvert->channel_layout_str && strcmp(aconvert->channel_layout_str, "auto"))
-        return ff_parse_channel_layout(&aconvert->out_chlayout, aconvert->channel_layout_str, ctx);
+        return ff_parse_channel_layout(&aconvert->out_chlayout, NULL, aconvert->channel_layout_str, ctx);
     return ret;
 }