playlist_demux: remove unneeded peek.
authorRémi Duraffort <ivoire@videolan.org>
Wed, 29 Jul 2009 11:43:24 +0000 (13:43 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 30 Jul 2009 12:03:09 +0000 (14:03 +0200)
modules/demux/playlist/ram.c
modules/demux/playlist/wpl.c
modules/demux/playlist/zpl.c

index b6c0567..fbcfe74 100644 (file)
@@ -77,8 +77,7 @@ static void ParseClipInfo( const char * psz_clipinfo, char **ppsz_artist, char *
 int Import_RAM( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
 int Import_RAM( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
+
     if(! demux_IsPathExtension( p_demux, ".ram" ) ||
          demux_IsPathExtension( p_demux, ".rm" ) )
         return VLC_EGENERIC;
     if(! demux_IsPathExtension( p_demux, ".ram" ) ||
          demux_IsPathExtension( p_demux, ".rm" ) )
         return VLC_EGENERIC;
index 86ac85b..d2038cf 100644 (file)
@@ -52,8 +52,6 @@ static char* ParseUriValue(char* psz_string);
 int Import_WPL( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
 int Import_WPL( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
 
     if(! ( demux_IsPathExtension( p_demux, ".wpl" ) || demux_IsForced( p_demux,  "wpl" )))
         return VLC_EGENERIC;
 
     if(! ( demux_IsPathExtension( p_demux, ".wpl" ) || demux_IsForced( p_demux,  "wpl" )))
         return VLC_EGENERIC;
index 4387533..053d750 100644 (file)
@@ -53,8 +53,6 @@ static char* ParseTabValue(char* psz_string);
 int Import_ZPL( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
 int Import_ZPL( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
 
     if(! ( demux_IsPathExtension( p_demux, ".zpl" ) || demux_IsForced( p_demux,  "zpl" )))
         return VLC_EGENERIC;
 
     if(! ( demux_IsPathExtension( p_demux, ".zpl" ) || demux_IsForced( p_demux,  "zpl" )))
         return VLC_EGENERIC;