From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 7BFF049598 for ; Fri, 12 Jul 2024 18:20:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EEEE068DBCC; Fri, 12 Jul 2024 21:20:14 +0300 (EEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AD59C68D9A9 for ; Fri, 12 Jul 2024 21:20:07 +0300 (EEST) Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-52ea929ea56so4558852e87.0 for ; Fri, 12 Jul 2024 11:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720808407; x=1721413207; darn=ffmpeg.org; h=subject:date:from:to:message-id:in-reply-to:from:to:cc:subject:date :message-id:reply-to; bh=svM7BnYg0aM6rxOP543WW/AtamIoXheO2FEFyOtWDg8=; b=K5XV42qRB3VEl2deohMMeGnKFkuGG0VKeM+CX7zYFagVdultpsg2hd5Z9OaMaeU8Yf GW0unwHjZfIMXkjLzJETkNCnzonz5gAAOuf5WxPB8AhSFD/CtoTXaM0a5L5E6PcZsQLM oFl1+gUo6iwKB6DpFrupMZpwxLwiVehuIgf0vIgu2+yV2wnfohDYI9Psnt9AtFnqaK6+ 106wyhk6gwLaIk2wWQPxVEcLqKkJMn90NLgSaxwx2kzro6r3vqPkqejC60iFmlrA5HDR yBXZA039/24CzpPFMMcXDrI1/XnffxBB0yiFPI4Ec9bdBu0fmrlfFLEmA6bsx0DM/A/X ZEjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720808407; x=1721413207; h=subject:date:from:to:message-id:in-reply-to:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=svM7BnYg0aM6rxOP543WW/AtamIoXheO2FEFyOtWDg8=; b=sGvC/VKBohvVEcwGBsqRopF9NYkSbma6IzQm04ZBzspn42JGDkWbbbYb+0UQvUe+Yk O4dG2YGkR7aZZCofQIpL/SA+q83+2A/PqCH+8ihict8iR1vQWX1SKoEB/BnD+A8O8Gqb AgGrqe/iRV7TOiSbFWVNCIIbwi0+6dQCwC1BqDucSvYFh+UbCYDMjQZtL4iJTHshpTwo 1dysSyQl7nDjKx8y738c0ADg2iWV0xf3BWQeC1Aj2GLH8rfngUgXwbU7JRxEnPC6N8oq clSkizRE0gw35fXwrLx+fJRTtJwlSZj9VqF8oP99ZApFf8dq4arFHdeoP7InKfJnm9jZ X4rw== X-Gm-Message-State: AOJu0YyFgMT8is0VSzU57uLnQyE7rK0DuQ+zhZZvUhtib7B5tyMvXjZV zuMx9L0RpWTjgSAhLoW2lVjeotdlxUEYp1uGYankn5OhGfKJgmXO6hHWbg== X-Google-Smtp-Source: AGHT+IF8q08nYrVOaJiTBh5tEvo7T5F40W02a/OZci3R4NzkwacmNpTUC7SMAALAyHP7yNEtQ7YMbA== X-Received: by 2002:a05:6512:3e22:b0:52e:9808:3f48 with SMTP id 2adb3069b0e04-52eb999c2f2mr11040371e87.21.1720808406744; Fri, 12 Jul 2024 11:20:06 -0700 (PDT) Received: from localhost (p200300cccf1e25001072fbc25e6664b9.dip0.t-ipconnect.de. [2003:cc:cf1e:2500:1072:fbc2:5e66:64b9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a871f2fsm366178566b.202.2024.07.12.11.20.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jul 2024 11:20:06 -0700 (PDT) In-Reply-To: Message-Id: To: From: "Marvin Scholz" Date: Fri, 12 Jul 2024 20:09:06 +0200 Subject: [FFmpeg-devel] [PATCH 2/3] avfilter/af_afftdn: use av_assert_unreachable X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Fixes a compiler warning about mag possibly being uninitialised. --- libavfilter/af_afftdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c index a2e6ca6107..f26b620cfb 100644 --- a/libavfilter/af_afftdn.c +++ b/libavfilter/af_afftdn.c @@ -378,7 +378,7 @@ static void process_frame(AVFilterContext *ctx, noisy_data[i] = mag = hypot(fft_data_dbl[i].re, fft_data_dbl[i].im); break; default: - av_assert2(0); + av_assert_unreachable(); } power = mag * mag; -- 2.39.3 (Apple Git-146) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".