diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-05 18:29:10 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-05 18:29:10 +0300 |
commit | d78d72da664a37e91c32f8fbbad0f9436f397e17 (patch) | |
tree | 504a294bd150d4323c013dcd3b86714dd079098f | |
parent | dc85e85943abd970b9d279116901a81abe15b9d9 (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.c | 1 |
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; |