From b664df3ff47ab23a59bc5232249251f66f7115f9 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 12 Nov 2021 13:03:58 -0300 Subject: avdevice/dshow: fix a unused variable warning Unused if DSHOWDEBUG is not set since commit d9a9b4c877b85fea5a5bad74c3d592a756047f79. Signed-off-by: James Almer --- libavdevice/dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index fd62d79443..ef78781865 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -411,9 +411,9 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, bih->biHeight = ctx->requested_height; } } else { - AUDIO_STREAM_CONFIG_CAPS *acaps = caps; WAVEFORMATEX *fx; #if DSHOWDEBUG + AUDIO_STREAM_CONFIG_CAPS *acaps = caps; ff_print_AUDIO_STREAM_CONFIG_CAPS(acaps); #endif if (IsEqualGUID(&type->formattype, &FORMAT_WaveFormatEx)) { -- cgit v1.2.3