diff options
author | James Almer <jamrial@gmail.com> | 2021-11-12 13:03:58 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-11-13 11:38:01 -0300 |
commit | b664df3ff47ab23a59bc5232249251f66f7115f9 (patch) | |
tree | ba54c6ab79f673c6df12d9af19e05ead134c40b0 | |
parent | 47451d9267caf8f989530d0d7a1311f6205a2c21 (diff) | |
download | ffmpeg-b664df3ff47ab23a59bc5232249251f66f7115f9.tar.gz |
avdevice/dshow: fix a unused variable warning
Unused if DSHOWDEBUG is not set since commit
d9a9b4c877b85fea5a5bad74c3d592a756047f79.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavdevice/dshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |