[FFmpeg-devel] -std=c99 breaks mingw32 build with libfaac
Zuxy Meng
zuxy.meng
Thu Jan 7 03:34:54 CET 2010
2010/1/7 Ramiro Polla <ramiro.polla at gmail.com>:
> On Wed, Jan 6, 2010 at 11:57 PM, Zuxy Meng <zuxy.meng at gmail.com> wrote:
>> 2010/1/6 Ramiro Polla <ramiro.polla at gmail.com>:
>>> It has already been fixed in faac 1.28. Zuxy, what versions of faac
>>> and mingw are you using?
>>
>> I'm using 1.26. So those guys have changed the calling convention; no
>> problem then:-)
>
> IIRC they changed WIN32 to _WIN32 and kept stdcall.
#if defined(_WIN32) && !defined(__MINGW32__)
# ifndef FAACAPI
# define FAACAPI __stdcall
# endif
#else
# ifndef FAACAPI
# define FAACAPI
# endif
#endif
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the ffmpeg-devel
mailing list