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
e0021504
Commit
e0021504
authored
Sep 25, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_bits: const correctness for get_bits_trace()/get_xbits_trace() arguments
parent
4e5b7f31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
get_bits.h
libavcodec/get_bits.h
+3
-3
No files found.
libavcodec/get_bits.h
View file @
e0021504
...
@@ -521,7 +521,7 @@ static inline void print_bin(int bits, int n)
...
@@ -521,7 +521,7 @@ static inline void print_bin(int bits, int n)
av_log
(
NULL
,
AV_LOG_DEBUG
,
" "
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
" "
);
}
}
static
inline
int
get_bits_trace
(
GetBitContext
*
s
,
int
n
,
char
*
file
,
static
inline
int
get_bits_trace
(
GetBitContext
*
s
,
int
n
,
c
onst
c
har
*
file
,
const
char
*
func
,
int
line
)
const
char
*
func
,
int
line
)
{
{
int
r
=
get_bits
(
s
,
n
);
int
r
=
get_bits
(
s
,
n
);
...
@@ -532,7 +532,7 @@ static inline int get_bits_trace(GetBitContext *s, int n, char *file,
...
@@ -532,7 +532,7 @@ static inline int get_bits_trace(GetBitContext *s, int n, char *file,
return
r
;
return
r
;
}
}
static
inline
int
get_vlc_trace
(
GetBitContext
*
s
,
VLC_TYPE
(
*
table
)[
2
],
static
inline
int
get_vlc_trace
(
GetBitContext
*
s
,
VLC_TYPE
(
*
table
)[
2
],
int
bits
,
int
max_depth
,
char
*
file
,
int
bits
,
int
max_depth
,
c
onst
c
har
*
file
,
const
char
*
func
,
int
line
)
const
char
*
func
,
int
line
)
{
{
int
show
=
show_bits
(
s
,
24
);
int
show
=
show_bits
(
s
,
24
);
...
@@ -547,7 +547,7 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2],
...
@@ -547,7 +547,7 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2],
bits2
,
len
,
r
,
pos
,
file
,
func
,
line
);
bits2
,
len
,
r
,
pos
,
file
,
func
,
line
);
return
r
;
return
r
;
}
}
static
inline
int
get_xbits_trace
(
GetBitContext
*
s
,
int
n
,
char
*
file
,
static
inline
int
get_xbits_trace
(
GetBitContext
*
s
,
int
n
,
c
onst
c
har
*
file
,
const
char
*
func
,
int
line
)
const
char
*
func
,
int
line
)
{
{
int
show
=
show_bits
(
s
,
n
);
int
show
=
show_bits
(
s
,
n
);
...
...
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