summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index f7329e7923..fc75ee015c 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -107,6 +107,7 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
setmode(fd, O_BINARY);
#endif
h->priv_data = (void *)(size_t)fd;
+ h->is_streamed = 1;
return 0;
}