From 65f08253158ba9cb4c164a6cfd6da39b39d38e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Sat, 21 Apr 2018 01:38:21 +0300 Subject: mp_image: fixup a simple 10L in ref_buffer We didn't want to set the pointer to zero, but the value that the pointer was pointing towards. --- video/mp_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/mp_image.c b/video/mp_image.c index 8aa3aa025c..a1efe7d405 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -305,7 +305,7 @@ static void ref_buffer(bool *ok, AVBufferRef **dst) if (*dst) { *dst = av_buffer_ref(*dst); if (!*dst) - ok = false; + *ok = false; } } -- cgit v1.2.3