summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-05 15:29:10 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-05 15:29:10 +0000
commitd78d72da664a37e91c32f8fbbad0f9436f397e17 (patch)
tree504a294bd150d4323c013dcd3b86714dd079098f
parentdc85e85943abd970b9d279116901a81abe15b9d9 (diff)
Set TCP protocol to is_streamed=1 as seeking is not possible.
Björn Axelsson, bjorn.axelsson intinor se Originally committed as revision 12338 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/tcp.c1
1 files changed, 1 insertions, 0 deletions
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;