changeset 29067:a560ab3e03e5

Make sure we do not accidentally use the vdp_get_error_string from the previous initialization.
author reimar
date Mon, 30 Mar 2009 12:11:12 +0000
parents ab51a502ebb5
children b58c687a3078
files libvo/vo_vdpau.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Sun Mar 29 19:43:52 2009 +0000
+++ b/libvo/vo_vdpau.c	Mon Mar 30 12:11:12 2009 +0000
@@ -375,6 +375,7 @@
         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) {