[FFmpeg-devel] [PATCH]lswr/rematrix: Remove an aggressive loop optimization / undefined behaviour

Michael Niedermayer michael at niedermayer.cc
Fri Feb 24 23:24:51 EET 2017


On Fri, Feb 24, 2017 at 11:21:54AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes a gcc warning (tested 6.3.0).
> 
> Please comment, Carl Eugen

>  rematrix.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 38e092f00db2021f4dfb7677cc1b18bc66808754  0001-lswr-rematrix-Remove-an-aggressive-loop-optimization.patch
> From 422e4b2fba6f3c9fbf930908474029cb8088bc46 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Fri, 24 Feb 2017 11:16:26 +0100
> Subject: [PATCH] lswr/rematrix: Remove an aggressive loop optimization.
> 
> Fixes undefined behaviour and a gcc warning:
> libswresample/rematrix.c:376:47: warning: iteration 64 invokes undefined behavior
> ---
>  libswresample/rematrix.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

should be ok

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170224/4f74de84/attachment.sig>


More information about the ffmpeg-devel mailing list