aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-04-11 23:11:47 +0200
committerPaul B Mahol <onemda@gmail.com>2022-04-11 23:14:54 +0200
commit13fe148c319d758c0d8be4073905cfa79ed3bfc6 (patch)
tree44102b59b60d424f0b840f7755b850f6642b39b6
parent3bbbb09a53442f1f00b84ceda4b5b60662596fa0 (diff)
downloadffmpeg-13fe148c319d758c0d8be4073905cfa79ed3bfc6.tar.gz
avfilter/f_ebur128: fix typos for swr chlayouts
-rw-r--r--libavfilter/f_ebur128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index a036aa0c86..195c9a8639 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -487,11 +487,11 @@ static int config_audio_output(AVFilterLink *outlink)
!ebur128->true_peaks_per_frame || !ebur128->swr_ctx)
return AVERROR(ENOMEM);
- av_opt_set_chlayout(ebur128->swr_ctx, "in_ch_layout", &outlink->ch_layout, 0);
+ av_opt_set_chlayout(ebur128->swr_ctx, "in_chlayout", &outlink->ch_layout, 0);
av_opt_set_int(ebur128->swr_ctx, "in_sample_rate", outlink->sample_rate, 0);
av_opt_set_sample_fmt(ebur128->swr_ctx, "in_sample_fmt", outlink->format, 0);
- av_opt_set_chlayout(ebur128->swr_ctx, "out_ch_layout", &outlink->ch_layout, 0);
+ av_opt_set_chlayout(ebur128->swr_ctx, "out_chlayout", &outlink->ch_layout, 0);
av_opt_set_int(ebur128->swr_ctx, "out_sample_rate", 192000, 0);
av_opt_set_sample_fmt(ebur128->swr_ctx, "out_sample_fmt", outlink->format, 0);