# HG changeset patch # User reimar # Date 1238415072 0 # Node ID a560ab3e03e501aa12c56f482960d9aefaaac0b6 # Parent ab51a502ebb5a4a27f9b9f45b361a9298d2ba2c4 Make sure we do not accidentally use the vdp_get_error_string from the previous initialization. diff -r ab51a502ebb5 -r a560ab3e03e5 libvo/vo_vdpau.c --- 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) {