diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-27 07:28:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-09 13:47:30 +0200 |
commit | 9d1f58424aa3154e63b7c7cfed6c5311ad6a6ccc (patch) | |
tree | 987dcab5b29915a1524e1b55563700ae50744666 /libavfilter/f_graphmonitor.c | |
parent | 0952f8f909fa723d790ceb43e562e316efbf99dd (diff) | |
download | ffmpeg-9d1f58424aa3154e63b7c7cfed6c5311ad6a6ccc.tar.gz |
avfilter/af_headphone: Simplify finding channel index
Before this commit, the headphone filter called
av_channel_layout_extract_channel() in a loop in order to find out
the index of a channel (given via its AV_CH_* value) in a channel layout.
This commit changes this to av_get_channel_layout_channel_index()
instead.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/f_graphmonitor.c')
0 files changed, 0 insertions, 0 deletions