mirror of https://github.com/mpv-player/mpv
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:
parent
6435d9ae7f
commit
65f0825315
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue