[x264-devel] [PATCH 1/2] arm/arm64: use plane_copy wrapper macros

Martin Storsjö martin at martin.st
Sat Aug 27 11:49:59 CEST 2016


On Fri, 26 Aug 2016, Janne Grunau wrote:

> 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 at ispras.ru>
> ---
> common/aarch64/mc-a.S |  4 +--
> common/aarch64/mc-c.c | 13 ++++---
> common/arm/mc-a.S     |  6 ++--
> common/arm/mc-c.c     | 16 +++++----
> common/mc.h           | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++
> common/x86/mc-c.c     | 89 ------------------------------------------------
> 6 files changed, 116 insertions(+), 105 deletions(-)

LGTM

// Martin


More information about the x264-devel mailing list