History

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.

Ramiro Polla committed 2 years ago

Commit d2ed52d1 parent c0342131 file · +1 −1Browse files

Unified · Split

libavdevice/dshow.c+1−1
@@ -985,8 +985,8 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, · 984 unmodified lines
985 }985 }
986 } else {986 } else {
987 WAVEFORMATEX *fx;987 WAVEFORMATEX *fx;
988 AUDIO_STREAM_CONFIG_CAPS *acaps = caps;
989#if DSHOWDEBUG988#if DSHOWDEBUG
989 AUDIO_STREAM_CONFIG_CAPS *acaps = caps;
990 ff_print_AUDIO_STREAM_CONFIG_CAPS(acaps);990 ff_print_AUDIO_STREAM_CONFIG_CAPS(acaps);
991#endif991#endif
992 if (IsEqualGUID(&type->formattype, &FORMAT_WaveFormatEx)) {992 if (IsEqualGUID(&type->formattype, &FORMAT_WaveFormatEx)) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t