[libav-bugs] [Bug 313] New: [RTMP] Fix building on MinGW

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jun 11 21:55:04 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=313

           Summary: [RTMP] Fix building on MinGW
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: samuel.pitoiset at gmail.com


Hi,

The rtmpproto.c file fails to compile since we added some calls to strtok_r().

Indeed, strtok_r() is an *optional* POSIX function, required only for
implementations which support POSIX threads. MinGW does *not* support
POSIX threads.

strtok_r() should be replaced by strchr() or something similar.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list