[vlc-devel] commit: Some broken .Ram playlist have .rm extensions. The real demuxer should take the actula .rm files before. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Mar 29 18:41:34 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 29 18:40:55 2009 +0200| [dbb6de576b7a4a6a7b98da4c4c412f876ddfa1a8] | committer: Jean-Baptiste Kempf
Some broken .Ram playlist have .rm extensions. The real demuxer should take the actula .rm files before.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbb6de576b7a4a6a7b98da4c4c412f876ddfa1a8
---
modules/demux/playlist/ram.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/ram.c b/modules/demux/playlist/ram.c
index 8b2f63c..d640c7a 100644
--- a/modules/demux/playlist/ram.c
+++ b/modules/demux/playlist/ram.c
@@ -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" );
More information about the vlc-devel
mailing list