From 37f334dc58d364623fc2a652fee2524571b03d91 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 7 Jan 2025 17:33:58 -0500 Subject: [PATCH] Remove code that converts to mono --- src/zm_videostore.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 323cf6fda..e62ed87a6 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -512,17 +512,6 @@ bool VideoStore::open() { } // end if audio_out_ctx->codec_tag = 0; #endif - -#if LIBAVCODEC_VERSION_CHECK(59, 24, 100, 24, 100) - /* Seems like technically we could have multple channels, so let's not implement this for ffmpeg 5 */ -#else - if (audio_out_ctx->channels > 1) { - Warning("Audio isn't mono, changing it."); - audio_out_ctx->channels = 1; - } else { - Debug(3, "Audio is mono"); - } -#endif } // end if is AAC if (oc->oformat->flags & AVFMT_GLOBALHEADER) {