]> git.sesse.net Git - vlc/blobdiff - modules/demux/m3u.c
* avi: fixed the return value of Seek().
[vlc] / modules / demux / m3u.c
index ec845d2e7e4fd1f649d163e699cb18828980adfd..2aee61e3055009044fe0adc764c1a393c9c05029 100644 (file)
@@ -35,7 +35,7 @@
 /*****************************************************************************
  * Constants and structures
  *****************************************************************************/
-#define MAX_LINE 1024
+#define MAX_LINE 8192
 
 #define TYPE_UNKNOWN 0
 #define TYPE_M3U 1
@@ -94,6 +94,7 @@ static int Activate( vlc_object_t * p_this )
     psz_ext = strrchr ( p_input->psz_name, '.' );
 
     if( ( psz_ext && !strcasecmp( psz_ext, ".m3u") ) ||
+        ( psz_ext && !strcasecmp( psz_ext, ".ram") ) || /* a .ram file can contain a single rtsp link */
         ( p_input->psz_demux && !strcmp(p_input->psz_demux, "m3u") ) )
     {
         i_type = TYPE_M3U;