[MPlayer-cvslog] r29106 - trunk/libvo/vo_vdpau.c

reimar subversion at mplayerhq.hu
Mon Mar 30 14:11:12 CEST 2009


Author: reimar
Date: Mon Mar 30 14:11:12 2009
New Revision: 29106

Log:
Make sure we do not accidentally use the vdp_get_error_string from the
previous initialization.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Sun Mar 29 21:43:52 2009	(r29105)
+++ trunk/libvo/vo_vdpau.c	Mon Mar 30 14:11:12 2009	(r29106)
@@ -375,6 +375,7 @@ static int win_x11_init_vdpau_procs(void
         return -1;
     }
 
+    vdp_get_error_string = NULL;
     for (dsc = vdp_func; dsc->pointer; dsc++) {
         vdp_st = vdp_get_proc_address(vdp_device, dsc->id, dsc->pointer);
         if (vdp_st != VDP_STATUS_OK) {


More information about the MPlayer-cvslog mailing list