[codec,dsp] fix unused variable warning

This commit is contained in:
Armin Novak 2023-06-07 14:16:31 +02:00 committed by David Fort
parent 970f0c54e8
commit 47e9503385

View File

@ -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: