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
This commit is contained in:
reimar 2009-03-30 12:11:12 +00:00
parent 05be65cb86
commit 79568f8ea5
1 changed files with 1 additions and 0 deletions

View File

@ -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) {