View | Details | Raw Unified | Return to bug 156648
Collapse All | Expand All

(-)files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VDPAU.cpp (-3 / +5 lines)
Lines 1-11 Link Here
1
--- xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp.orig	2010-12-17 07:17:41.000000000 +0100
1
--- xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp.orig	2011-03-05 04:33:37.000000000 +0100
2
+++ xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp	2010-12-28 13:26:49.000000000 +0100
2
+++ xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp	2011-04-25 19:11:54.000000000 +0200
3
@@ -647,7 +647,7 @@
3
@@ -647,8 +647,9 @@
4
 
4
 
5
 void CVDPAU::InitVDPAUProcs()
5
 void CVDPAU::InitVDPAUProcs()
6
 {
6
 {
7
-  char* error;
7
-  char* error;
8
+  const char* error;
8
+  const char* error;
9
 
9
 
10
+  (void)dlerror();
10
   dl_vdp_device_create_x11 = (VdpStatus (*)(Display*, int, VdpDevice*, VdpStatus (**)(VdpDevice, VdpFuncId, void**)))dlsym(dl_handle, (const char*)"vdp_device_create_x11");
11
   dl_vdp_device_create_x11 = (VdpStatus (*)(Display*, int, VdpDevice*, VdpStatus (**)(VdpDevice, VdpFuncId, void**)))dlsym(dl_handle, (const char*)"vdp_device_create_x11");
11
   error = dlerror();
12
   error = dlerror();
13
   if (error)

Return to bug 156648