[vlc-commits] postproc: remove redundant check

Rémi Denis-Courmont git at videolan.org
Thu Jul 24 18:12:07 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 24 19:10:40 2014 +0300| [f88544adb4076f9ebbf948b0d878e0275f742d42] | committer: Rémi Denis-Courmont

postproc: remove redundant check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f88544adb4076f9ebbf948b0d878e0275f742d42
---

 modules/video_filter/postproc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/postproc.c b/modules/video_filter/postproc.c
index 3211333..8ca5507 100644
--- a/modules/video_filter/postproc.c
+++ b/modules/video_filter/postproc.c
@@ -275,7 +275,7 @@ static void ClosePostproc( vlc_object_t *p_this )
     /* Destroy the resources */
     vlc_mutex_destroy( &p_sys->lock );
     pp_free_context( p_sys->pp_context );
-    if( p_sys->pp_mode ) pp_free_mode( p_sys->pp_mode );
+    pp_free_mode( p_sys->pp_mode );
     free( p_sys );
 }
 



More information about the vlc-commits mailing list