]> git.sesse.net Git - vlc/commitdiff
* modules/video_filter/transform.c: minor coding improvement.
authorSam Hocevar <sam@videolan.org>
Tue, 4 Jul 2006 12:26:08 +0000 (12:26 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 4 Jul 2006 12:26:08 +0000 (12:26 +0000)
modules/video_filter/transform.c

index fd201bcdd2c8b406790f9e6aac3b1d392e79a84c..0cdee98904a03aa3a9359041bd71889977565d87 100644 (file)
@@ -210,14 +210,10 @@ static int Init( vout_thread_t *p_vout )
 
         fmt.i_sar_num = p_vout->fmt_out.i_sar_den;
         fmt.i_sar_den = p_vout->fmt_out.i_sar_num;
-
-        p_vout->p_sys->p_vout = vout_Create( p_vout, &fmt );
-    }
-    else
-    {
-        p_vout->p_sys->p_vout = vout_Create( p_vout, &fmt );
     }
 
+    p_vout->p_sys->p_vout = vout_Create( p_vout, &fmt );
+
     /* Everything failed */
     if( p_vout->p_sys->p_vout == NULL )
     {