From b3ddc47cb5f39774080bd4ee074927c35fde7902 Mon Sep 17 00:00:00 2001 From: Johns Date: Mon, 25 Feb 2013 16:39:32 +0100 Subject: Removes "unused parameter" warnings. --- video.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video.c') 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); } -- cgit v1.2.3