[Ffmpeg-devel] [PATCH] PPC build broken

Vermeir, Thijs thijs.vermeir
Tue Oct 24 12:50:47 CEST 2006


The ppc build is broken for svn.
It can be fixed ( it builds) with the attached patch.
I don't know it works like it must work. I can only confirm
that svn does not build and with the patch applied it builds...


Index: libavcodec/mpegaudiodec.c
--- libavcodec/mpegaudiodec.c   (revision 6789)
+++ libavcodec/mpegaudiodec.c   (working copy)
@@ -403,9 +403,9 @@
         for(i=0; i<512*16; i++){
             int exponent= (i>>4);
             double f= pow(i&15, 4.0 / 3.0) * pow(2, (exponent-400)*0.25 + FRAC_BITS + 5);
-            expval_table[exponent][i&15]= llrint(f);
+            expval_table[exponent][i&15]= lrintf(f);
-                exp_table[exponent]= llrint(f);
+                exp_table[exponent]= lrintf(f);

         for(i=0;i<7;i++) {

Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.

More information about the ffmpeg-devel mailing list