[libdvdcss-devel] [PATCH] Fix OS/2 in MPlayers libdvdcss.c

Dave Yeo daveryeo at telus.net
Wed Jan 23 05:00:27 CET 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvdcss_c.diff
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/libdvdcss-devel/attachments/20130122/f59bc5af/attachment.bin>


More information about the libdvdcss-devel mailing list