Commit 5a75fb87 authored by Rémi Duraffort's avatar Rémi Duraffort

playlist_demux: remove unneeded peek.

parent 59132510
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment