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.
This commit is contained in:
Jan Ekström 2018-04-21 01:38:21 +03:00
parent 6435d9ae7f
commit 65f0825315
1 changed files with 1 additions and 1 deletions

View File

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