From d78d72da664a37e91c32f8fbbad0f9436f397e17 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 5 Mar 2008 15:29:10 +0000 Subject: Set TCP protocol to is_streamed=1 as seeking is not possible. Björn Axelsson, bjorn.axelsson intinor se MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 12338 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index bea0fb9099..6c25e72b6f 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -50,6 +50,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) if (!s) return AVERROR(ENOMEM); h->priv_data = s; + h->is_streamed = 1; if (port <= 0 || port >= 65536) goto fail; -- cgit v1.2.3