]> granicus.if.org Git - libx264/commit
arm/aarch64: use plane_copy wrapper macros
authorJanne Grunau <janne-x264@jannau.net>
Fri, 26 Aug 2016 17:26:55 +0000 (20:26 +0300)
committerHenrik Gramner <henrik@gramner.com>
Sat, 17 Sep 2016 13:10:14 +0000 (15:10 +0200)
commit5caef139cf7d6b41a95ee9568625d36d1ae1c107
tree9c59e4684bd2258c98dc596dc60c178e748f51e2
parent3f5ed56d4105f68c01b86f94f41bb9bbefa3433b
arm/aarch64: use plane_copy wrapper macros

Move the macros to common/mc.h to share them across all architectures.
Fixes possible buffer overreads if the width of the user supplied frames
is not a multiple of 16.

Reported-by: Kirill Batuzov <batuzovk@ispras.ru>
common/aarch64/mc-a.S
common/aarch64/mc-c.c
common/arm/mc-a.S
common/arm/mc-c.c
common/mc.h
common/x86/mc-c.c