]> git.sesse.net Git - vlc/commitdiff
Cosmetic.
authorChristophe Massiot <massiot@videolan.org>
Wed, 23 Oct 2002 22:05:22 +0000 (22:05 +0000)
committerChristophe Massiot <massiot@videolan.org>
Wed, 23 Oct 2002 22:05:22 +0000 (22:05 +0000)
modules/codec/mpeg_video/headers.c

index 6e6cadd493f4d82e862f94990d6f1269ed5796c7..164b20452274db010733ae56339dd15e6cd1a2e6 100644 (file)
@@ -2,7 +2,7 @@
  * vpar_headers.c : headers parsing
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: headers.c,v 1.3 2002/08/12 09:34:15 sam Exp $
+ * $Id: headers.c,v 1.4 2002/10/23 22:05:22 massiot Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *          Stéphane Borel <stef@via.ecp.fr>
@@ -309,13 +309,10 @@ static void SequenceHeader( vpar_thread_t * p_vpar )
     };
 #undef RESERVED
 
-    int i_height_save, i_width_save, i_aspect;
+    int i_aspect;
 
     vout_thread_t *p_vout;
 
-    i_height_save = p_vpar->sequence.i_height;
-    i_width_save = p_vpar->sequence.i_width;
-
     p_vpar->sequence.i_width = GetBits( &p_vpar->bit_stream, 12 );
     p_vpar->sequence.i_height = GetBits( &p_vpar->bit_stream, 12 );
     i_aspect = GetBits( &p_vpar->bit_stream, 4 );
@@ -477,14 +474,6 @@ static void SequenceHeader( vpar_thread_t * p_vpar )
         break;
     }
 
-#if 0
-    if(    p_vpar->sequence.i_width != i_width_save
-        || p_vpar->sequence.i_height != i_height_save )
-    {
-         /* FIXME: Warn the video output */
-    }
-#endif
-
     /* Extension and User data */
     ExtensionAndUserData( p_vpar );