[FFmpeg-devel] [PATCH] x86: cabac: Disable the inline asm on clang on windows on i386

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun May 24 01:42:35 EEST 2020


Am Sa., 23. Mai 2020 um 20:35 Uhr schrieb Martin Storsjö <martin at martin.st>:
>
> The cabac inline assembly is very brittle to assemble properly
> on i386 windows with clang; libavcodec/hevc_cabac.c fails to build
> in the default mode (which is -march=pentium4), it only works if
> ffmpeg is configured with --cpu=i686 (translating to -march=i686),
> and likewise, the inline assembly fails to assemble in
> libavcodec/h264_cabac.c if building with optimizations disabled.
>
> Instead of trying to step around the problem (and end up bit by it
> occasionally), just disable the inline assembly for this configuration.

I think I cannot reproduce this issue, what may I miss?

Carl Eugen


More information about the ffmpeg-devel mailing list