]> git.sesse.net Git - vlc/commitdiff
* modules/codec/fake.c: Fixed compilation.
authorChristophe Massiot <massiot@videolan.org>
Wed, 24 Aug 2005 18:01:18 +0000 (18:01 +0000)
committerChristophe Massiot <massiot@videolan.org>
Wed, 24 Aug 2005 18:01:18 +0000 (18:01 +0000)
modules/codec/fake.c

index d630e6492425e8b9ffae8249e1abee7867f7fc02..ea717de3a5aa7fa7d3add271c21da0cc47972f6c 100644 (file)
@@ -228,12 +228,12 @@ static int OpenDecoder( vlc_object_t *p_this )
 
     if ( i_aspect )
     {
-        fmt_out.video.i_aspect = i_aspect;
+        fmt_out.i_aspect = i_aspect;
     }
     else
     {
-        fmt_out.video.i_aspect = fmt_out.i_width
-                               * VOUT_ASPECT_FACTOR / fmt_out.i_height;
+        fmt_out.i_aspect = fmt_out.i_width
+                            * VOUT_ASPECT_FACTOR / fmt_out.i_height;
     }
 
     var_Create( p_dec, "fake-deinterlace", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );