[FFmpeg-devel] [PATCH] configure: Change _cflags_noopt for MSVC to -Od

Thomson Tan lilotom at gmail.com
Mon Dec 12 22:32:28 EET 2022


Thanks. Wondering why and where DCE is needed in FFmpeg build?

On Mon, Dec 12, 2022 at 12:26 PM Timo Rothenpieler <timo at rothenpieler.org>
wrote:

> On 12.12.2022 19:30, lilotom at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list