mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Force inlining on get_vlc2.
Originally committed as revision 756 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c03a717274
commit
d200cab674
@ -36,6 +36,12 @@
|
||||
#define restrict
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
||||
#define always_inline __attribute__((always_inline)) inline
|
||||
#else
|
||||
#define always_inline inline
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WIN32
|
||||
|
||||
/* windows */
|
||||
@ -798,7 +804,8 @@ static inline int get_vlc(GetBitContext *s, VLC *vlc)
|
||||
return code;
|
||||
}
|
||||
|
||||
static inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2], int bits, int max_depth)
|
||||
static always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2],
|
||||
int bits, int max_depth)
|
||||
{
|
||||
int code;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user