[MPlayer-cvslog] r25376 - trunk/mp3lib/sr1.c
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Dec 12 13:35:05 CET 2007
Hello,
On Wed, Dec 12, 2007 at 09:29:56AM +0100, diego wrote:
> Author: diego
> Date: Wed Dec 12 09:29:55 2007
> New Revision: 25376
>
> Log:
> Add missing declaration for dct64_altivec, fixes the warning:
> In file included from layer3.c:1171,
> from sr1.c:391:
> decod386.c: In function 'synth_1to1':
> decod386.c:145: warning: implicit declaration of function 'dct64_altivec'
>
>
> Modified:
> trunk/mp3lib/sr1.c
>
> Modified: trunk/mp3lib/sr1.c
> ==============================================================================
> --- trunk/mp3lib/sr1.c (original)
> +++ trunk/mp3lib/sr1.c Wed Dec 12 09:29:55 2007
> @@ -386,6 +386,8 @@ retry1:
>
> static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs
>
> +extern void dct64_altivec(real *, real *, real *);
I think the "rule" is not to use "extern" for function prototypes in new
code, or does someone disagree?
Greetings,
Reimar Döffinger
More information about the MPlayer-cvslog
mailing list