From 79568f8ea5e8d2b638973e938207536695bc977b Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 30 Mar 2009 12:11:12 +0000 Subject: Make sure we do not accidentally use the vdp_get_error_string from the previous initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29106 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vdpau.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 83955f5ff3..f482533ff6 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -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) { -- cgit v1.2.3