summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_corevideo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c
index d9e28e80fc..3c08af585d 100644
--- a/video/out/vo_corevideo.c
+++ b/video/out/vo_corevideo.c
@@ -281,7 +281,6 @@ static mp_image_t *get_screenshot(struct vo *vo, CVPixelBufferRef pbuf)
int img_fmt = get_image_fmt(vo, pbuf);
if (img_fmt < 0 || !vo->params) return NULL;
- struct priv *p = vo->priv;
CVPixelBufferLockBaseAddress(pbuf, 0);
void *base = CVPixelBufferGetBaseAddress(pbuf);
size_t width = CVPixelBufferGetWidth(pbuf);