[Ffmpeg-devel] [PATCH] PPC build broken

Stefan Gehrer stefan.gehrer
Tue Oct 24 22:00:00 CEST 2006


I have received this message in error as I am not a named addressee
and will delete it.

Regards
Stefan Gehrer

Vermeir, Thijs wrote:
> Hello,
>
> 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...
>
> Gr,
> Thijs
>
> 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);
>              if((i&15)==1)
> -                exp_table[exponent]= llrint(f);
> +                exp_table[exponent]= lrintf(f);
>          }
>
>          for(i=0;i<7;i++) {
>
>
>
>
>
>
>
> DISCLAIMER:
> 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.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
>
>   





More information about the ffmpeg-devel mailing list