diff options
author | Jan Ekström <jeebjp@gmail.com> | 2018-04-21 01:38:21 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-21 01:38:21 +0300 |
commit | 65f08253158ba9cb4c164a6cfd6da39b39d38e55 (patch) | |
tree | 95df3df84444e6f573c7a14489c81c03fd212930 /video/mp_image.c | |
parent | 6435d9ae7f3afe88ad2dbaad378335185acecd38 (diff) | |
download | mpv-65f08253158ba9cb4c164a6cfd6da39b39d38e55.tar.bz2 mpv-65f08253158ba9cb4c164a6cfd6da39b39d38e55.tar.xz |
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.
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |