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
80412997
Commit
80412997
authored
Sep 25, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
golomb: const correctness for get_ue()/get_se() function arguments
parent
e0021504
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
golomb.h
libavcodec/golomb.h
+6
-2
No files found.
libavcodec/golomb.h
View file @
80412997
...
...
@@ -372,7 +372,9 @@ static inline int get_sr_golomb_shorten(GetBitContext* gb, int k)
#ifdef TRACE
static
inline
int
get_ue
(
GetBitContext
*
s
,
char
*
file
,
const
char
*
func
,
int
line
){
static
inline
int
get_ue
(
GetBitContext
*
s
,
const
char
*
file
,
const
char
*
func
,
int
line
)
{
int
show
=
show_bits
(
s
,
24
);
int
pos
=
get_bits_count
(
s
);
int
i
=
get_ue_golomb
(
s
);
...
...
@@ -386,7 +388,9 @@ static inline int get_ue(GetBitContext *s, char *file, const char *func, int lin
return
i
;
}
static
inline
int
get_se
(
GetBitContext
*
s
,
char
*
file
,
const
char
*
func
,
int
line
){
static
inline
int
get_se
(
GetBitContext
*
s
,
const
char
*
file
,
const
char
*
func
,
int
line
)
{
int
show
=
show_bits
(
s
,
24
);
int
pos
=
get_bits_count
(
s
);
int
i
=
get_se_golomb
(
s
);
...
...
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