Browse Source

md5proto: Fix order of operations.

tags/n0.9
Alex Converse 14 years ago
parent
commit
2b45222b6a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/md5proto.c

+ 1
- 1
libavformat/md5proto.c View File

@@ -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);


Loading…
Cancel
Save