video_output/opengllayer.m: Remove unuseful NULL check.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 4 Jan 2008 00:42:50 +0000 (00:42 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 4 Jan 2008 00:42:50 +0000 (00:42 +0000)
modules/video_output/opengllayer.m

index 4951fc1..ce3dd07 100644 (file)
@@ -258,7 +258,7 @@ static void End( vout_thread_t *p_vout )
     /* Free the texture buffer*/
     free( p_sys->pp_buffer[0] );
     free( p_sys->pp_buffer[1] );
-    if( p_sys->pp_buffer[2] ) free( p_sys->pp_buffer[2] );
+    free( p_sys->pp_buffer[2] );
 }
 
 /*****************************************************************************