summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 9c17e8c6e6..4ebe759468 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -374,7 +374,7 @@ void put_nbyte(AVIOContext *s, int b, int count)
int url_fopen(AVIOContext **s, const char *filename, int flags)
{
- return avio_open(s, filename, flags);
+ return avio_open(s, filename, flags+1);
}
int url_fclose(AVIOContext *s)
{