<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libopenjpeg overrides avplay main"
   href="https://bugzilla.libav.org/show_bug.cgi?id=871#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libopenjpeg overrides avplay main"
   href="https://bugzilla.libav.org/show_bug.cgi?id=871">bug 871</a>
              from <span class="vcard"><a class="email" href="mailto:diego@biurrun.de" title="Diego Biurrun <diego@biurrun.de>"> <span class="fn">Diego Biurrun</span></a>
</span></b>
        <pre>That's because avplay uses SDL and SDL defines main:

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

Maybe you can work around it with some #undef/#define trickery.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>