mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vd_lavc: fix return value in receive_frame()
Pointed out by uau. Not sure why gcc doesn't warn (it uses ((void*)0) for NULL).
This commit is contained in:
parent
c9d3a79187
commit
bcfdcd6226
@ -1133,7 +1133,7 @@ static bool receive_frame(struct dec_video *vd, struct mp_image **out_image)
|
||||
MP_ERR(vd, "Could not copy back hardware decoded frame.\n");
|
||||
ctx->hwdec_fail_count = INT_MAX - 1; // force fallback
|
||||
handle_err(vd);
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user