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
7a26da44
Commit
7a26da44
authored
Aug 09, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of printf
Originally committed as revision 10033 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e1249ba9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
nutdec.c
libavformat/nutdec.c
+3
-3
nutenc.c
libavformat/nutenc.c
+2
-2
No files found.
libavformat/nutdec.c
View file @
7a26da44
...
...
@@ -76,21 +76,21 @@ static uint64_t get_fourcc(ByteIOContext *bc){
static
inline
uint64_t
get_v_trace
(
ByteIOContext
*
bc
,
char
*
file
,
char
*
func
,
int
line
){
uint64_t
v
=
get_v
(
bc
);
printf
(
"get_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"get_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
return
v
;
}
static
inline
int64_t
get_s_trace
(
ByteIOContext
*
bc
,
char
*
file
,
char
*
func
,
int
line
){
int64_t
v
=
get_s
(
bc
);
printf
(
"get_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"get_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
return
v
;
}
static
inline
uint64_t
get_vb_trace
(
ByteIOContext
*
bc
,
char
*
file
,
char
*
func
,
int
line
){
uint64_t
v
=
get_vb
(
bc
);
printf
(
"get_vb %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"get_vb %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
return
v
;
}
#define get_v(bc) get_v_trace(bc, __FILE__, __PRETTY_FUNCTION__, __LINE__)
...
...
libavformat/nutenc.c
View file @
7a26da44
...
...
@@ -176,13 +176,13 @@ static void put_s(ByteIOContext *bc, int64_t val){
#ifdef TRACE
static
inline
void
put_v_trace
(
ByteIOContext
*
bc
,
uint64_t
v
,
char
*
file
,
char
*
func
,
int
line
){
printf
(
"ge
t_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"pu
t_v %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
put_v
(
bc
,
v
);
}
static
inline
void
put_s_trace
(
ByteIOContext
*
bc
,
int64_t
v
,
char
*
file
,
char
*
func
,
int
line
){
printf
(
"ge
t_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"pu
t_s %5"
PRId64
" / %"
PRIX64
" in %s %s:%d
\n
"
,
v
,
v
,
file
,
func
,
line
);
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