[libbluray-devel] Fixed DL_CALL to be C99 compilant

hpi1 git at videolan.org
Sun Mar 10 20:22:52 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Mar 10 21:14:01 2013 +0200| [2306657505f1cf7e1859d94a30bb712b647bb8d4] | committer: hpi1

Fixed DL_CALL to be C99 compilant

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2306657505f1cf7e1859d94a30bb712b647bb8d4
---

 src/libbluray/bluray.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 8bd3243..7d2a7fc 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -178,12 +178,12 @@ struct bluray {
     BD_ARGB_BUFFER      *argb_buffer;
 };
 
-#define DL_CALL(lib,func,param,...)             \
+#define DL_CALL(lib,func,...)                       \
      do {                                           \
           fptr_p_void fptr;                         \
           *(void **)(&fptr) = dl_dlsym(lib, #func); \
           if (fptr) {                               \
-              fptr(param, ##__VA_ARGS__);           \
+              fptr(__VA_ARGS__);                    \
           }                                         \
       } while (0)
 



More information about the libbluray-devel mailing list