changeset 3114:69b7efa1e0cb libavformat

Set TCP protocol to is_streamed=1 as seeking is not possible. Bj«Órn Axelsson, bjorn.axelsson intinor se
author diego
date Wed, 05 Mar 2008 15:29:10 +0000
parents f1aecf52bac5
children 924d2cb02fd1
files tcp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tcp.c	Wed Mar 05 13:31:24 2008 +0000
+++ b/tcp.c	Wed Mar 05 15:29:10 2008 +0000
@@ -50,6 +50,7 @@
     if (!s)
         return AVERROR(ENOMEM);
     h->priv_data = s;
+    h->is_streamed = 1;
 
     if (port <= 0 || port >= 65536)
         goto fail;