summaryrefslogtreecommitdiffstats
path: root/video/out/hwdec/dmabuf_interop.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--video/out/hwdec/dmabuf_interop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/hwdec/dmabuf_interop.h b/video/out/hwdec/dmabuf_interop.h
index e9b3e8e..3bf01a0 100644
--- a/video/out/hwdec/dmabuf_interop.h
+++ b/video/out/hwdec/dmabuf_interop.h
@@ -38,7 +38,7 @@ struct dmabuf_interop {
struct dmabuf_interop_priv {
int num_planes;
struct mp_image layout;
- struct ra_tex *tex[4];
+ struct ra_tex *tex[AV_DRM_MAX_PLANES];
AVDRMFrameDescriptor desc;
bool surface_acquired;