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

James Almer jamrial at gmail.com
Fri Nov 12 18:06:29 EET 2021


Unused since commit d9a9b4c877b85fea5a5bad74c3d592a756047f79.

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

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 {
-- 
2.33.0



More information about the ffmpeg-devel mailing list