[FFmpeg-cvslog] Revert "Fix url_fopen() flag values."

Michael Niedermayer git at videolan.org
Fri Apr 29 04:38:02 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Apr 29 04:31:28 2011 +0200| [a3ffe0eb761d7a98b8c1e0e4b962da4012a46729] | committer: Michael Niedermayer

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a3ffe0eb761d7a98b8c1e0e4b962da4012a46729
---

 libavformat/aviobuf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 4ebe759..9c17e8c 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)
 {



More information about the ffmpeg-cvslog mailing list