mirror of https://github.com/mpv-player/mpv
vo_corevideo: remove unused variable
This commit is contained in:
parent
689646962e
commit
b1328418ee
|
@ -281,7 +281,6 @@ static mp_image_t *get_screenshot(struct vo *vo, CVPixelBufferRef pbuf)
|
||||||
int img_fmt = get_image_fmt(vo, pbuf);
|
int img_fmt = get_image_fmt(vo, pbuf);
|
||||||
if (img_fmt < 0 || !vo->params) return NULL;
|
if (img_fmt < 0 || !vo->params) return NULL;
|
||||||
|
|
||||||
struct priv *p = vo->priv;
|
|
||||||
CVPixelBufferLockBaseAddress(pbuf, 0);
|
CVPixelBufferLockBaseAddress(pbuf, 0);
|
||||||
void *base = CVPixelBufferGetBaseAddress(pbuf);
|
void *base = CVPixelBufferGetBaseAddress(pbuf);
|
||||||
size_t width = CVPixelBufferGetWidth(pbuf);
|
size_t width = CVPixelBufferGetWidth(pbuf);
|
||||||
|
|
Loading…
Reference in New Issue