[MPlayer-cvslog] r35923 - trunk/libmpdemux/demux_lavf.c
reimar
subversion at mplayerhq.hu
Sun Feb 24 00:54:24 CET 2013
Author: reimar
Date: Sun Feb 24 00:54:24 2013
New Revision: 35923
Log:
demux_lavf: fix up all ffmpeg:// URLs.
Fixes playback of hls streams via FFmpeg.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Wed Feb 20 10:12:09 2013 (r35922)
+++ trunk/libmpdemux/demux_lavf.c Sun Feb 24 00:54:24 2013 (r35923)
@@ -539,7 +539,7 @@ static demuxer_t* demux_open_lavf(demuxe
}
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));
More information about the MPlayer-cvslog
mailing list