[vlc-devel] commit: playlist_demux: remove unneeded peek. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 30 14:34:04 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 29 13:43:24 2009 +0200| [5a75fb872aec42eb5660e220790209d08eb588cb] | committer: Rémi Duraffort 

playlist_demux: remove unneeded peek.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a75fb872aec42eb5660e220790209d08eb588cb
---

 modules/demux/playlist/ram.c |    3 +--
 modules/demux/playlist/wpl.c |    2 --
 modules/demux/playlist/zpl.c |    2 --
 3 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/modules/demux/playlist/ram.c b/modules/demux/playlist/ram.c
index b6c0567..fbcfe74 100644
--- a/modules/demux/playlist/ram.c
+++ b/modules/demux/playlist/ram.c
@@ -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;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
+
     if(! demux_IsPathExtension( p_demux, ".ram" ) ||
          demux_IsPathExtension( p_demux, ".rm" ) )
         return VLC_EGENERIC;
diff --git a/modules/demux/playlist/wpl.c b/modules/demux/playlist/wpl.c
index 86ac85b..d2038cf 100644
--- a/modules/demux/playlist/wpl.c
+++ b/modules/demux/playlist/wpl.c
@@ -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;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
 
     if(! ( demux_IsPathExtension( p_demux, ".wpl" ) || demux_IsForced( p_demux,  "wpl" )))
         return VLC_EGENERIC;
diff --git a/modules/demux/playlist/zpl.c b/modules/demux/playlist/zpl.c
index 4387533..053d750 100644
--- a/modules/demux/playlist/zpl.c
+++ b/modules/demux/playlist/zpl.c
@@ -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;
-    const uint8_t *p_peek;
-    CHECK_PEEK( p_peek, 8 );
 
     if(! ( demux_IsPathExtension( p_demux, ".zpl" ) || demux_IsForced( p_demux,  "zpl" )))
         return VLC_EGENERIC;




More information about the vlc-devel mailing list