Dave Yeo
2013-01-23 04:00:27 UTC
MPlayer now unconditionally defines HAVE_DIRECT_H to 1 if a system has direct.h. This causes Windows code to be used breaking MPlayers OS/2 support
libdvdcss/libdvdcss.c: In function 'dvdcss_open':
libdvdcss/libdvdcss.c:242: error: expected ')' before '*' token
libdvdcss/libdvdcss.c:249: error: 'MAX_PATH' undeclared (first use
in this function)
libdvdcss/libdvdcss.c:249: error: (Each undeclared identifier is
reported only once
libdvdcss/libdvdcss.c:249: error: for each function it appears in.)
libdvdcss/libdvdcss.c:250: error: 'HINSTANCE' undeclared (first use
in this function)
libdvdcss/libdvdcss.c:250: error: expected ';' before 'p_dll'
...
[more errors]
Simple fix attached
Dave
libdvdcss/libdvdcss.c: In function 'dvdcss_open':
libdvdcss/libdvdcss.c:242: error: expected ')' before '*' token
libdvdcss/libdvdcss.c:249: error: 'MAX_PATH' undeclared (first use
in this function)
libdvdcss/libdvdcss.c:249: error: (Each undeclared identifier is
reported only once
libdvdcss/libdvdcss.c:249: error: for each function it appears in.)
libdvdcss/libdvdcss.c:250: error: 'HINSTANCE' undeclared (first use
in this function)
libdvdcss/libdvdcss.c:250: error: expected ';' before 'p_dll'
...
[more errors]
Simple fix attached
Dave