display: fix warning
authorSteve Lhomme <robux4@ycbcr.xyz>
Mon, 13 Jan 2020 11:00:53 +0000 (12:00 +0100)
committerSteve Lhomme <robux4@ycbcr.xyz>
Mon, 13 Jan 2020 11:05:39 +0000 (12:05 +0100)
src/video_output/display.c

index 8f5fbf4..890b2ce 100644 (file)
@@ -290,6 +290,7 @@ typedef struct {
 
 static vlc_decoder_device * DisplayHoldDecoderDevice(vlc_object_t *o, void *sys)
 {
+    VLC_UNUSED(o);
     vout_display_t *vd = sys;
     vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
     return osys->src_vctx ? vlc_video_context_HoldDevice(osys->src_vctx) : NULL;