[MPlayer-cvslog] r28711 - trunk/libvo/vo_vdpau.c

reimar subversion at mplayerhq.hu
Mon Feb 23 10:22:57 CET 2009


Author: reimar
Date: Mon Feb 23 10:22:57 2009
New Revision: 28711

Log:
Only check for vdp_video_mixer_destroy failure when we actually executed that function.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Mon Feb 23 10:21:57 2009	(r28710)
+++ trunk/libvo/vo_vdpau.c	Mon Feb 23 10:22:57 2009	(r28711)
@@ -427,9 +427,10 @@ static void free_video_specific(void) {
         surface_render[i].surface = VDP_INVALID_HANDLE;
     }
 
-    if (video_mixer != VDP_INVALID_HANDLE)
+    if (video_mixer != VDP_INVALID_HANDLE) {
         vdp_st = vdp_video_mixer_destroy(video_mixer);
-    CHECK_ST_WARNING("Error when calling vdp_video_mixer_destroy")
+        CHECK_ST_WARNING("Error when calling vdp_video_mixer_destroy")
+    }
     video_mixer = VDP_INVALID_HANDLE;
 }
 



More information about the MPlayer-cvslog mailing list