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
83b92a85
Commit
83b92a85
authored
Jul 30, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
golomb: Drop disabled cruft
parent
014852e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
golomb.h
libavcodec/golomb.h
+0
-16
No files found.
libavcodec/golomb.h
View file @
83b92a85
...
...
@@ -463,12 +463,6 @@ static inline void set_ue_golomb(PutBitContext *pb, int i)
{
assert
(
i
>=
0
);
#if 0
if (i = 0) {
put_bits(pb, 1, 1);
return;
}
#endif
if
(
i
<
256
)
put_bits
(
pb
,
ff_ue_golomb_len
[
i
],
i
+
1
);
else
{
...
...
@@ -496,19 +490,9 @@ static inline void set_te_golomb(PutBitContext *pb, int i, int range)
*/
static
inline
void
set_se_golomb
(
PutBitContext
*
pb
,
int
i
)
{
#if 0
if (i <= 0)
i = -2 * i;
else
i = 2 * i - 1;
#elif
1
i
=
2
*
i
-
1
;
if
(
i
<
0
)
i
^=
-
1
;
//FIXME check if gcc does the right thing
#else
i
=
2
*
i
-
1
;
i
^=
(
i
>>
31
);
#endif
set_ue_golomb
(
pb
,
i
);
}
...
...
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