[MPlayer-cvslog] r37546 - trunk/stream/stream_ffmpeg.c
rtogni
subversion at mplayerhq.hu
Sat Oct 17 22:13:20 CEST 2015
Author: rtogni
Date: Sat Oct 17 22:13:20 2015
New Revision: 37546
Log:
Init network when using libavformat for streaming
This avoids the message "Using network protocols without global network
initialization. Please use avformat_network_init(), this will become
mandatory later." and makes playback of segmented streams smoother.
Modified:
trunk/stream/stream_ffmpeg.c
Modified: trunk/stream/stream_ffmpeg.c
==============================================================================
--- trunk/stream/stream_ffmpeg.c Sat Oct 17 21:44:31 2015 (r37545)
+++ trunk/stream/stream_ffmpeg.c Sat Oct 17 22:13:20 2015 (r37546)
@@ -96,6 +96,7 @@ static int open_f(stream_t *stream, int
int dummy;
init_avformat();
+ avformat_network_init();
if (mode == STREAM_READ)
flags = AVIO_FLAG_READ;
else if (mode == STREAM_WRITE)
More information about the MPlayer-cvslog
mailing list