Alex Converse <[email protected]> writes:

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

OK

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to