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 6EB8944F59 for ; Mon, 12 Dec 2022 20:26:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 77B9768BDD8; Mon, 12 Dec 2022 22:26:48 +0200 (EET) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 053F768BC28 for ; Mon, 12 Dec 2022 22:26:42 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 69A9E2EA7B2 for ; Mon, 12 Dec 2022 21:26:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1670876799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0JWG2lxmEENNDE5GpHpJRnm/nW0CXnys7IwF2WDlnO4=; b=bgUD0bjhFq2do+NKRLUNafxesc977/AJU3ATPr0n6LV71iO2uefJ7g8Ra+KAeHSONDl2Gb Fov7kh1r7NrYV9xY4HlygCC1xRnSLW6vI3ItgEji7fIld0+5q4iTOWPMtqAOsC6KRLDZ4z I6s5opGnxyPdzKglQGf5C8NjtA7/Lt39eSg5oogBMYB+PPAGdpuvX1VekbexgYb/jag/KI w+OF6RXXEcGwDa38jmUAi0nuUV8r0hgq1uRa68hvJgPr79QPTJLkOda+rZ6mfba9j4EvM5 4R7dYFhRG4yWEmR29BT4HNjQfjQozNhkBGy+gUidjAX99/sCbUTwRvvNm0A9IQ== Message-ID: <24ff042f-7281-a1e0-9b6f-4e26e0560d11@rothenpieler.org> Date: Mon, 12 Dec 2022 21:26:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 To: ffmpeg-devel@ffmpeg.org References: <185cfb01d90e57$c22e5420$468afc60$@gmail.com> Content-Language: en-US From: Timo Rothenpieler In-Reply-To: <185cfb01d90e57$c22e5420$468afc60$@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] configure: Change _cflags_noopt for MSVC to -Od 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 12.12.2022 19:30, lilotom@gmail.com wrote: > Currently -O1 is set to _cflags_noopt, but -O1 is actually for size > optimization instead of no-opt which causes size optimized binaries > been built with --disable-optimizations. It's like this very intentionally, since ffmpeg relies on dead-code-elimination in a lot of places, which MSVC does not perform when optimizations are turned off. So optimizations cannot be fully turned off on MSVC. _______________________________________________ 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".