summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video.c b/video.c
index 0049850..baddb81 100644
--- a/video.c
+++ b/video.c
@@ -2469,6 +2469,8 @@ static VASurfaceID VaapiGetSurface(VaapiDecoder * decoder,
}
// FIXME: too late to switch to software rending on failures
}
+#else
+ (void)video_ctx;
#endif
return VaapiGetSurface0(decoder);
}
@@ -6778,6 +6780,8 @@ static unsigned VdpauGetSurface(VdpauDecoder * decoder,
VdpauSetupOutput(decoder);
}
+#else
+ (void)video_ctx;
#endif
return VdpauGetSurface0(decoder);
}