Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-28 15:11:37 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-04-28 15:20:03 +0400
commit183401b92419febf2c6aeaa2dfecdd16ad99bff8 (patch)
tree8927e947b467cebd931028b9f3abd365fa84777c /libavformat/aviobuf.c
parent90bcbc791f431dc7545e837e1a9aeca0a3e760a6 (diff)
Fix url_fopen() flag values.
Reported by: Luca Abeni Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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)
{