Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d200cab6
Commit
d200cab6
authored
Jul 13, 2002
by
Falk Hüffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force inlining on get_vlc2.
Originally committed as revision 756 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c03a7172
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
common.h
libavcodec/common.h
+8
-1
No files found.
libavcodec/common.h
View file @
d200cab6
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment