diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-28 13:11:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-28 13:20:03 +0200 |
commit | 183401b92419febf2c6aeaa2dfecdd16ad99bff8 (patch) | |
tree | 8927e947b467cebd931028b9f3abd365fa84777c | |
parent | 90bcbc791f431dc7545e837e1a9aeca0a3e760a6 (diff) | |
download | ffmpeg-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.c | 2 |
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) { |