Removes "unused parameter" warnings.

This commit is contained in:
Johns 2013-02-25 16:39:32 +01:00
parent 4d9e3a71f4
commit b3ddc47cb5

View File

@ -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);
}