From 8938aeebfaab3ce717637cfa83412d88913ebf10 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Mon, 13 Mar 2023 09:32:17 +0900 Subject: [PATCH] obs-ffmpeg: Remove an empty clause The empty clause was originally introduced to set a cutoff settings as a hack at a commit ae862c16a and later removed at a commit a89470d2e. At this time, the clause became empty but another commit aa58b9cf5 reuse the clause and finally a commit 9baedb1c6 removes so that the clause is empty now. --- plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c b/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c index a8347e64f..2562a63f1 100644 --- a/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c +++ b/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c @@ -263,9 +263,6 @@ static void *enc_create(obs_data_t *settings, obs_encoder_t *encoder, enc->context->sample_rate = closest; } - if (strcmp(enc->codec->name, "aac") == 0) { - } - #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 24, 100) info("bitrate: %" PRId64 ", channels: %d, channel_layout: %x\n", (int64_t)enc->context->bit_rate / 1000,