[FFmpeg-cvslog] md5proto: Fix order of operations.
Alex Converse
git at videolan.org
Tue Nov 29 00:37:12 CET 2011
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Sun Nov 27 16:16:44 2011 -0800| [2b45222b6a475d37a349f9abb877e20d99bca335] | committer: Alex Converse
md5proto: Fix order of operations.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b45222b6a475d37a349f9abb877e20d99bca335
---
libavformat/md5proto.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c
index 8e61e5b..c580bfd 100644
--- a/libavformat/md5proto.c
+++ b/libavformat/md5proto.c
@@ -36,7 +36,7 @@ static int md5_open(URLContext *h, const char *filename, int flags)
return -1;
}
- if (!flags & AVIO_FLAG_WRITE)
+ if (!(flags & AVIO_FLAG_WRITE))
return AVERROR(EINVAL);
av_md5_init(h->priv_data);
More information about the ffmpeg-cvslog
mailing list