[FFmpeg-devel] [PATCH] vp4: prevent unaligned memory access in loop filter

Michael Niedermayer michael at niedermayer.cc
Wed Oct 30 11:09:09 EET 2019


On Fri, Jun 21, 2019 at 07:52:31AM +1000, Peter Ross wrote:
> VP4 applies a loop filter during motion compensation, causing the block offset
> will often by unaligned. This produces a bus error on some platforms, namely
> ARMv7 NEON.
> 
> This patch adds a unaligned version of the loop filter function pointer
> to VP3DSPContext.
> 
> Reported-by: Mike Melanson <mike at multimedia.cx>
> ---
>  libavcodec/vp3.c             | 10 ++++++++--
>  libavcodec/vp3dsp.c          |  4 ++--
>  libavcodec/vp3dsp.h          |  2 ++
>  libavcodec/x86/vp3dsp_init.c |  4 ++--
>  4 files changed, 14 insertions(+), 6 deletions(-)

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191030/0f563242/attachment.sig>


More information about the ffmpeg-devel mailing list