changeset 35829:66bbe17c4abc

demux_lavf: fix up all ffmpeg:// URLs. Fixes playback of hls streams via FFmpeg.
author reimar
date Sat, 23 Feb 2013 23:54:24 +0000
parents 20e25bcbedf7
children 52f1a3aea26b
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Wed Feb 20 09:12:09 2013 +0000
+++ b/libmpdemux/demux_lavf.c	Sat Feb 23 23:54:24 2013 +0000
@@ -539,7 +539,7 @@
     }
 
     if(demuxer->stream->url) {
-        if (!strncmp(demuxer->stream->url, "ffmpeg://rtsp:", 14))
+        if (!strncmp(demuxer->stream->url, "ffmpeg://", 9))
             av_strlcpy(mp_filename, demuxer->stream->url + 9, sizeof(mp_filename));
         else
             av_strlcat(mp_filename, demuxer->stream->url, sizeof(mp_filename));