Skip to content

Commit

Permalink
avfilter/f_ebur128: fix typos for swr chlayouts
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Apr 11, 2022
1 parent 3bbbb09 commit 13fe148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libavfilter/f_ebur128.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 13fe148

Please sign in to comment.