Fixes https://trac.ffmpeg.org/ticket/8903 relevant https://github.com/msys2/MINGW-packages/discussions/9258
Unified · Split
| @@ -177,8 +177,13 @@ · 176 unmodified lines | ||
| 177 | 177 | |
| 178 | 178 | #if HAVE_7REGS && !BROKEN_COMPILER |
| 179 | 179 | #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) | |
| 182 | 187 | { |
| 183 | 188 | int bit, tmp; |
| 184 | 189 | #ifdef BROKEN_RELOCATIONS |