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
177 177
178#if HAVE_7REGS && !BROKEN_COMPILER178#if HAVE_7REGS && !BROKEN_COMPILER
179#define get_cabac_inline get_cabac_inline_x86179#define get_cabac_inline get_cabac_inline_x86
180static av_always_inline int get_cabac_inline_x86(CABACContext *c,180static
181 uint8_t *const state)181#if defined(_WIN32) && !defined(_WIN64) && defined(__clang__)
182av_noinline
183#else
184av_always_inline
185#endif
186int get_cabac_inline_x86(CABACContext *c, uint8_t *const state)
182{187{
183 int bit, tmp;188 int bit, tmp;
184#ifdef BROKEN_RELOCATIONS189#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