Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
ba12a875
Commit
ba12a875
authored
Dec 11, 2012
by
Mathis Rosenhauer
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
fixed C&P omission
parent
b20512d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
ba12a875
...
...
@@ -30,12 +30,12 @@ AC_TYPE_UINT8_T
# Checks for library functions.
AC_CHECK_FUNCS([memset strstr])
AC_MSG_CHECKING(for __builtin_clzl)
AC_MSG_CHECKING(for __builtin_clzl
l
)
AC_TRY_LINK([],[
__builtin_clzl(1);
__builtin_clzl
l
(1);
],[
AC_DEFINE(AEC_HAVE___BUILTIN_CLZL, 1, \
[Define to 1 if you have the '__builtin__clzl' function.])
AC_DEFINE(AEC_HAVE___BUILTIN_CLZL
L
, 1, \
[Define to 1 if you have the '__builtin__clzl
l
' function.])
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
...
...
src/decode.c
View file @
ba12a875
...
...
@@ -277,7 +277,7 @@ static inline uint32_t direct_get_fs(struct aec_stream *strm)
if
(
state
->
acc
==
0
)
fill_acc
(
strm
);
#ifdef AEC_HAVE___BUILTIN_CLZL
#ifdef AEC_HAVE___BUILTIN_CLZL
L
fs
=
__builtin_clzll
(
state
->
acc
)
-
(
64
-
state
->
bitp
);
state
->
bitp
-=
fs
+
1
;
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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