summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-30 12:11:12 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-30 12:11:12 +0000
commit79568f8ea5e8d2b638973e938207536695bc977b (patch)
tree19d1ba41b3c08f2cdfb355eaba3a80e2c632976c
parent05be65cb86e67916f3b006dfe5d4b5bbb15f74b8 (diff)
downloadmpv-79568f8ea5e8d2b638973e938207536695bc977b.tar.bz2
mpv-79568f8ea5e8d2b638973e938207536695bc977b.tar.xz
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
-rw-r--r--libvo/vo_vdpau.c1
1 files changed, 1 insertions, 0 deletions
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) {