Fixes https://trac.ffmpeg.org/ticket/8903 relevant https://github.com/msys2/MINGW-packages/discussions/9258
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -177,8 +177,13 @@ · 176 unmodified lines | |||
| 177 | 177 | ||
| 178 | #if HAVE_7REGS && !BROKEN_COMPILER | 178 | #if HAVE_7REGS && !BROKEN_COMPILER |
| 179 | #define get_cabac_inline get_cabac_inline_x86 | 179 | #define get_cabac_inline get_cabac_inline_x86 |
| 180 | static av_always_inline int get_cabac_inline_x86(CABACContext *c, | 180 | static |
| 181 | uint8_t *const state) | 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) | ||
| 182 | { | 187 | { |
| 183 | int bit, tmp; | 188 | int bit, tmp; |
| 184 | #ifdef BROKEN_RELOCATIONS | 189 | #ifdef BROKEN_RELOCATIONS |