History

get_cabac_inline_x86: Don't inline if 32-bit clang on windows

Fixes https://trac.ffmpeg.org/ticket/8903 relevant https://github.com/msys2/MINGW-packages/discussions/9258

Christopher Degawa committed 5 years ago

Commit 8990c581 parent c64d56a1 file · +7 −2Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/x86/cabac.h+7−2
@@ -177,8 +177,13 @@ · 176 unmodified lines
177177
178178 #if HAVE_7REGS && !BROKEN_COMPILER
179179 #define get_cabac_inline get_cabac_inline_x86
180−static av_always_inline int get_cabac_inline_x86(CABACContext *c,
181− uint8_t *const state)
180+static
181+#if defined(_WIN32) && !defined(_WIN64) && defined(__clang__)
182+av_noinline
183+#else
184+av_always_inline
185+#endif
186+int get_cabac_inline_x86(CABACContext *c, uint8_t *const state)
182187 {
183188 int bit, tmp;
184189 #ifdef BROKEN_RELOCATIONS

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t