[FFmpeg-cvslog] r12338 - trunk/libavformat/tcp.c

diego subversion
Wed Mar 5 16:29:10 CET 2008


Author: diego
Date: Wed Mar  5 16:29:10 2008
New Revision: 12338

Log:
Set TCP protocol to is_streamed=1 as seeking is not possible.
Bj?rn Axelsson, bjorn.axelsson intinor se


Modified:
   trunk/libavformat/tcp.c

Modified: trunk/libavformat/tcp.c
==============================================================================
--- trunk/libavformat/tcp.c	(original)
+++ trunk/libavformat/tcp.c	Wed Mar  5 16:29:10 2008
@@ -50,6 +50,7 @@ static int tcp_open(URLContext *h, const
     if (!s)
         return AVERROR(ENOMEM);
     h->priv_data = s;
+    h->is_streamed = 1;
 
     if (port <= 0 || port >= 65536)
         goto fail;




More information about the ffmpeg-cvslog mailing list