summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-29 04:31:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-29 04:31:28 +0200
commita3ffe0eb761d7a98b8c1e0e4b962da4012a46729 (patch)
treed7f72965af32e85d223538cb9048bcdf925ad997 /libavformat/aviobuf.c
parent455ce979d0793096662d139e996107a527617832 (diff)
Revert "Fix url_fopen() flag values."
No longer needed after martins change to the values. Though this would have been nicer ABI wise but iam too lazy to maintain this difference This reverts commit 183401b92419febf2c6aeaa2dfecdd16ad99bff8.
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 4ebe759468..9c17e8c6e6 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+1);
+ return avio_open(s, filename, flags);
}
int url_fclose(AVIOContext *s)
{