aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-28 13:11:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-28 13:20:03 +0200
commit183401b92419febf2c6aeaa2dfecdd16ad99bff8 (patch)
tree8927e947b467cebd931028b9f3abd365fa84777c
parent90bcbc791f431dc7545e837e1a9aeca0a3e760a6 (diff)
downloadffmpeg-183401b92419febf2c6aeaa2dfecdd16ad99bff8.tar.gz
Fix url_fopen() flag values.
Reported by: Luca Abeni Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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)
{