aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/psnr.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-27 07:28:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-09 13:47:30 +0200
commit9d1f58424aa3154e63b7c7cfed6c5311ad6a6ccc (patch)
tree987dcab5b29915a1524e1b55563700ae50744666 /libavfilter/psnr.h
parent0952f8f909fa723d790ceb43e562e316efbf99dd (diff)
downloadffmpeg-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/psnr.h')
0 files changed, 0 insertions, 0 deletions