[FFmpeg-devel] ff_idct_xvid_sse2-cannot-be-inline.patch

Pavel Pavlov pavel
Tue Mar 9 00:43:11 CET 2010


> > The function ff_idct_xvid_sse2 simply cannot be static because it's
> referenced inside dsputil_mmx.c:
> >   c->idct    = ff_idct_xvid_sse2;
> > I have no idea how gcc could compile/link this kind of code. There
> should have been a link error at least
> > <ff_idct_xvid_sse2-cannot-be-inline.patch>
> 
> It's C99 inline. C99 doesn't make inline functions static if there's a
> prototype, and there is one.
> 


I don't know why I wrote static, if it's actually inline :)
Anyways, I'm getting a link error and I have to remove inline to fix it.




More information about the ffmpeg-devel mailing list