[FFmpeg-devel] Fix bug for PPC LE

Michael Niedermayer michaelni at gmx.at
Fri Apr 24 14:49:39 CEST 2015


On Fri, Apr 24, 2015 at 06:09:14PM +0800, rongyan wrote:
> Hi,
> GCC tool has a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error here:
>  1. The attchment is the patch to fix libswscale/ppc/swscale_altivec.c.
>  2. The commit af5fec9538d88540af5bb2dd0e4b91162ce6fa13 on Apr. 3rd for file libavcodec/ppc/fdctdsp.c should be rolled back.
>  The fate test result on both BE and LE is as follows:
>  
>   
>  Thanks for your review.
>   
>  Rong Yan


>  swscale_altivec.c |   11 ++---------
>  1 file changed, 2 insertions(+), 9 deletions(-)
> 9a70f99cafeffd603d7dc63bb80f14f548e7644c  0001-libswscale-ppc-swscale_altivec.c-POWER-LE-support-in.patch
> From 9f23058d8fa83f7abf5ee5f14c50b68c97b27be8 Mon Sep 17 00:00:00 2001
> From: Rong Yan <rongyan236 at gmail.com>
> Date: Fri, 24 Apr 2015 09:21:09 +0000
> Subject: [PATCH] libswscale/ppc/swscale_altivec.c: POWER LE support in
>  yuv2planeX_8() delete macro GET_VF() for gcc-4.9.1

please amend this commit message so it states more elaboratly what
is changed and why

also if you want some commit reverted submit a patch that does the
revert with a clear and verbose commit message

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150424/c06a6c7b/attachment.asc>


More information about the ffmpeg-devel mailing list