On Tue, Sep 08, 2020 at 11:18:36PM +0200, Andreas Rheinhardt wrote:
> 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.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>
> ---
>  libavfilter/af_headphone.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 

LGTM
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to