aboutsummaryrefslogtreecommitdiffstats
path: root/ffbuild/pkgconfig_generate.sh
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-24 06:34:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-09 13:46:07 +0200
commit14226be499d27935d54981f0a6e1b15fd65746cd (patch)
tree3285ddc079d93397205fd547205f565c0f0e47c2 /ffbuild/pkgconfig_generate.sh
parent7b74e02ef2d0099a2e1f1d1cefc1fce2e041f618 (diff)
downloadffmpeg-14226be499d27935d54981f0a6e1b15fd65746cd.tar.gz
avfilter/af_headphone: Don't overrun array
The headphone filter stores the channel position of the ith HRIR stream in the ith element of an array of 64 elements; but because there is no check for duplicate channels, it is easy to write beyond the end of the array by simply repeating channels. This commit adds a check for duplicate channels to rule this out. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'ffbuild/pkgconfig_generate.sh')
0 files changed, 0 insertions, 0 deletions