Commit 2b45222b authored by Alex Converse's avatar Alex Converse

md5proto: Fix order of operations.

parent 999e7ebd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment