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
e4d5b551
Commit
e4d5b551
authored
Aug 02, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rangecoder: Kill non-compiling disabled cruft
parent
00a0419c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
rangecoder.h
libavcodec/rangecoder.h
+0
-14
No files found.
libavcodec/rangecoder.h
View file @
e4d5b551
...
...
@@ -117,7 +117,6 @@ static inline int get_rac(RangeCoder *c, uint8_t *const state)
int
range1
=
(
c
->
range
*
(
*
state
))
>>
8
;
c
->
range
-=
range1
;
#if 1
if
(
c
->
low
<
c
->
range
)
{
*
state
=
c
->
zero_state
[
*
state
];
refill
(
c
);
...
...
@@ -129,19 +128,6 @@ static inline int get_rac(RangeCoder *c, uint8_t *const state)
refill
(
c
);
return
1
;
}
#else
{
int
one_mask
one_mask
=
(
c
->
range
-
c
->
low
-
1
)
>>
31
;
c
->
low
-=
c
->
range
&
one_mask
;
c
->
range
+=
(
range1
-
c
->
range
)
&
one_mask
;
*
state
=
c
->
zero_state
[(
*
state
)
+
(
256
&
one_mask
)];
}
refill
(
c
);
return
one_mask
&
1
;
#endif
}
#endif
/* AVCODEC_RANGECODER_H */
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