From 47e95033856df19e0fe1b2d4c5dc10e5622223f8 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 7 Jun 2023 14:16:31 +0200 Subject: [PATCH] [codec,dsp] fix unused variable warning --- libfreerdp/codec/dsp_ffmpeg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libfreerdp/codec/dsp_ffmpeg.c b/libfreerdp/codec/dsp_ffmpeg.c index ebba52b14..7f385e7c7 100644 --- a/libfreerdp/codec/dsp_ffmpeg.c +++ b/libfreerdp/codec/dsp_ffmpeg.c @@ -94,13 +94,9 @@ static BOOL ffmpeg_codec_is_filtered(enum AVCodecID id, BOOL encoder) static enum AVCodecID ffmpeg_get_avcodec(const AUDIO_FORMAT* format) { - const char* id; - if (!format) return AV_CODEC_ID_NONE; - id = audio_format_get_tag_string(format->wFormatTag); - switch (format->wFormatTag) { case WAVE_FORMAT_UNKNOWN: