summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-02-25 16:39:32 +0100
committerJohns <johns98@gmx.net>2013-02-25 16:39:32 +0100
commitb3ddc47cb5f39774080bd4ee074927c35fde7902 (patch)
tree7e6f95a4ef0c1bfdd19064afd19358e9f958dc02 /video.c
parent4d9e3a71f401ad8fbcfb482fbfe3eba7a593977f (diff)
downloadvdr-plugin-softhddevice-b3ddc47cb5f39774080bd4ee074927c35fde7902.tar.gz
vdr-plugin-softhddevice-b3ddc47cb5f39774080bd4ee074927c35fde7902.tar.bz2
Removes "unused parameter" warnings.
Diffstat (limited to 'video.c')
-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);
}