]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/transform.c
* various improvements to our Apple Remote bindings by the original author of the...
[vlc] / modules / video_filter / transform.c
index fd201bcdd2c8b406790f9e6aac3b1d392e79a84c..2f771e84459e5024af8333558200df729e8a4ac5 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 )
     {
@@ -401,7 +397,7 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
                 for( ; p_in < p_in_end ; )
                 {
                     p_in_end -= p_pic->p[i_index].i_pitch;
-                    p_vout->p_vlc->pf_memcpy( p_out, p_in_end,
+                    p_vout->p_libvlc->pf_memcpy( p_out, p_in_end,
                                            p_pic->p[i_index].i_visible_pitch );
                     p_out += p_pic->p[i_index].i_pitch;
                 }