[libav-bugs] [Bug 871] libopenjpeg overrides avplay main

bugzilla at libav.org bugzilla at libav.org
Thu Oct 6 00:09:00 CEST 2016


--- Comment #3 from Diego Biurrun <diego at biurrun.de> ---
That's because avplay uses SDL and SDL defines main:

#if defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)
#define main    SDL_main

Maybe you can work around it with some #undef/#define trickery.

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20161005/b34a0ccb/attachment.html>

More information about the libav-bugs mailing list