You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
md5proto: Fix order of operations.
This commit is contained in:
@@ -36,7 +36,7 @@ static int md5_open(URLContext *h, const char *filename, int flags)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!flags & AVIO_FLAG_WRITE)
|
if (!(flags & AVIO_FLAG_WRITE))
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
|
||||||
av_md5_init(h->priv_data);
|
av_md5_init(h->priv_data);
|
||||||
|
Reference in New Issue
Block a user