summaryrefslogtreecommitdiff
path: root/libavformat/md5proto.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-29 00:20:29 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-29 00:20:29 +0100
commit4dcd1a3145dd93602b86a44ebc07d98ca2a30ab6 (patch)
tree694f5d2cba955bc53de20f8fb81cb54439ae5279 /libavformat/md5proto.c
parent4b03d960220d15cb915c2c8f15970d2f36f25cd9 (diff)
parentac47e014bbaf5163871a8beb7522015e0bc27615 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: adtsenc: Check frame size. txd: Fix order of operations. APIchanges: fill in some blanks timer: fix misspelling of "decicycles" Eliminate pointless 0/NULL initializers in AVCodec and similar declarations. indeo3: cosmetics md5proto: Fix order of operations. dca: Replace oversized unused get_bits() with skip_bits_long(). Conflicts: doc/APIchanges libavformat/mmsh.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r--libavformat/md5proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c
index 4e041b020f..05ee9d366a 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);