Commit dbb6de57 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Some broken .Ram playlist have .rm extensions. The real demuxer should take...

Some broken .Ram playlist have .rm extensions. The real demuxer should take the actula .rm files before.
parent 0449b603
......@@ -78,7 +78,8 @@ 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" ) )
if(! demux_IsPathExtension( p_demux, ".ram" ) ||
demux_IsPathExtension( p_demux, ".rm" ) )
return VLC_EGENERIC;
STANDARD_DEMUX_INIT_MSG( "found valid RAM playlist" );
......
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