avdevice/dshow: fix unused variable warning

The acaps variable was used outside of the #if DSHOWDEBUG block with
a1c4929f, but it is no longer used outside of the block since f125c504.
master
Ramiro Polla 2 months ago
parent c034213083
commit d2ed52dc02
  1. 2
      libavdevice/dshow.c

@ -985,8 +985,8 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
}
} else {
WAVEFORMATEX *fx;
AUDIO_STREAM_CONFIG_CAPS *acaps = caps;
#if DSHOWDEBUG
AUDIO_STREAM_CONFIG_CAPS *acaps = caps;
ff_print_AUDIO_STREAM_CONFIG_CAPS(acaps);
#endif
if (IsEqualGUID(&type->formattype, &FORMAT_WaveFormatEx)) {

Loading…
Cancel
Save