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
bc66827f
Commit
bc66827f
authored
Sep 27, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nutenc: const correctness for ff_put_v_trace/put_s_trace function arguments
parent
6c5b0517
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
nutenc.c
libavformat/nutenc.c
+6
-2
No files found.
libavformat/nutenc.c
View file @
bc66827f
...
@@ -263,13 +263,17 @@ static void put_s(AVIOContext *bc, int64_t val){
...
@@ -263,13 +263,17 @@ static void put_s(AVIOContext *bc, int64_t val){
}
}
#ifdef TRACE
#ifdef TRACE
static
inline
void
ff_put_v_trace
(
AVIOContext
*
bc
,
uint64_t
v
,
char
*
file
,
char
*
func
,
int
line
){
static
inline
void
ff_put_v_trace
(
AVIOContext
*
bc
,
uint64_t
v
,
const
char
*
file
,
const
char
*
func
,
int
line
)
{
av_log
(
NULL
,
AV_LOG_DEBUG
,
"ff_put_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"ff_put_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
ff_put_v
(
bc
,
v
);
ff_put_v
(
bc
,
v
);
}
}
static
inline
void
put_s_trace
(
AVIOContext
*
bc
,
int64_t
v
,
char
*
file
,
char
*
func
,
int
line
){
static
inline
void
put_s_trace
(
AVIOContext
*
bc
,
int64_t
v
,
const
char
*
file
,
const
char
*
func
,
int
line
)
{
av_log
(
NULL
,
AV_LOG_DEBUG
,
"put_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"put_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
put_s
(
bc
,
v
);
put_s
(
bc
,
v
);
...
...
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