Commit d78d72da authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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
parent dc85e859
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment