diff mbox series

[FFmpeg-devel,2/2] avdevice/dshow: remove unused acaps variable

Message ID 20211112160629.7220-2-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/2] avdevice/dshow: fix print format for some variables | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

James Almer Nov. 12, 2021, 4:06 p.m. UTC
Unused since commit d9a9b4c877b85fea5a5bad74c3d592a756047f79.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavdevice/dshow.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index fd62d79443..0f954dde6f 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -411,11 +411,7 @@  dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
                 bih->biHeight = ctx->requested_height;
             }
         } else {
-            AUDIO_STREAM_CONFIG_CAPS *acaps = caps;
             WAVEFORMATEX *fx;
-#if DSHOWDEBUG
-            ff_print_AUDIO_STREAM_CONFIG_CAPS(acaps);
-#endif
             if (IsEqualGUID(&type->formattype, &FORMAT_WaveFormatEx)) {
                 fx = (void *) type->pbFormat;
             } else {