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
pull/126/head
Diego Biurrun 17 years ago
parent dc85e85943
commit d78d72da66
  1. 1
      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;

Loading…
Cancel
Save