File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1068,8 +1068,8 @@ static void swap_channel_layouts_on_filter(AVFilterContext *filter)
1068
1068
}
1069
1069
1070
1070
/* no penalty for LFE channel mismatch */
1071
- if (av_channel_layout_channel_from_index (& in_chlayout , AV_CHAN_LOW_FREQUENCY ) >= 0 &&
1072
- av_channel_layout_channel_from_index (& out_chlayout , AV_CHAN_LOW_FREQUENCY ) >= 0 )
1071
+ if (av_channel_layout_index_from_channel (& in_chlayout , AV_CHAN_LOW_FREQUENCY ) >= 0 &&
1072
+ av_channel_layout_index_from_channel (& out_chlayout , AV_CHAN_LOW_FREQUENCY ) >= 0 )
1073
1073
score += 10 ;
1074
1074
av_channel_layout_from_mask (& in_chlayout , av_channel_layout_subset (& in_chlayout , ~AV_CH_LOW_FREQUENCY ));
1075
1075
av_channel_layout_from_mask (& out_chlayout , av_channel_layout_subset (& out_chlayout , ~AV_CH_LOW_FREQUENCY ));
You can’t perform that action at this time.
0 commit comments