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
This commit is contained in:
Diego Biurrun 2008-03-05 15:29:10 +00:00
parent dc85e85943
commit d78d72da66
1 changed files with 1 additions and 0 deletions

View 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;