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

Alexander Strange astrange
Tue Mar 9 00:34:35 CET 2010


On Mar 8, 2010, at 6:29 PM, Pavel Pavlov wrote:

> 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.




More information about the ffmpeg-devel mailing list