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:
parent
dc85e85943
commit
d78d72da66
@ -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…
x
Reference in New Issue
Block a user