OSDN Git Service

Set TCP protocol to is_streamed=1 as seeking is not possible.
authorDiego Biurrun <diego@biurrun.de>
Wed, 5 Mar 2008 15:29:10 +0000 (15:29 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 5 Mar 2008 15:29:10 +0000 (15:29 +0000)
Björn Axelsson, bjorn.axelsson intinor se

Originally committed as revision 12338 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/tcp.c

index bea0fb9..6c25e72 100644 (file)
@@ -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;