Commit 183401b9 authored by Michael Niedermayer's avatar Michael Niedermayer

Fix url_fopen() flag values.

Reported by: Luca Abeni
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 90bcbc79
...@@ -374,7 +374,7 @@ void put_nbyte(AVIOContext *s, int b, int count) ...@@ -374,7 +374,7 @@ void put_nbyte(AVIOContext *s, int b, int count)
int url_fopen(AVIOContext **s, const char *filename, int flags) 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) int url_fclose(AVIOContext *s)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment