Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8999c833
Commit
8999c833
authored
May 26, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace printf by av_log
Originally committed as revision 13425 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a299832f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ffmdec.c
libavformat/ffmdec.c
+3
-3
No files found.
libavformat/ffmdec.c
View file @
8999c833
...
...
@@ -152,7 +152,7 @@ static void ffm_seek1(AVFormatContext *s, offset_t pos1)
if
(
pos
>=
ffm
->
file_size
)
pos
-=
(
ffm
->
file_size
-
FFM_PACKET_SIZE
);
#ifdef DEBUG_SEEK
printf
(
"seek to %"
PRIx64
" -> %"
PRIx64
"
\n
"
,
pos1
,
pos
);
av_log
(
s
,
AV_LOG_DEBUG
,
"seek to %"
PRIx64
" -> %"
PRIx64
"
\n
"
,
pos1
,
pos
);
#endif
url_fseek
(
pb
,
pos
,
SEEK_SET
);
}
...
...
@@ -166,7 +166,7 @@ static int64_t get_pts(AVFormatContext *s, offset_t pos)
url_fskip
(
pb
,
4
);
pts
=
get_be64
(
pb
);
#ifdef DEBUG_SEEK
printf
(
"pts=%0.6f
\n
"
,
pts
/
1000000
.
0
);
av_log
(
s
,
AV_LOG_DEBUG
,
"pts=%0.6f
\n
"
,
pts
/
1000000
.
0
);
#endif
return
pts
;
}
...
...
@@ -422,7 +422,7 @@ static int ffm_seek(AVFormatContext *s, int stream_index, int64_t wanted_pts, in
double
pos1
;
#ifdef DEBUG_SEEK
printf
(
"wanted_pts=%0.6f
\n
"
,
wanted_pts
/
1000000
.
0
);
av_log
(
s
,
AV_LOG_DEBUG
,
"wanted_pts=%0.6f
\n
"
,
wanted_pts
/
1000000
.
0
);
#endif
/* find the position using linear interpolation (better than
dichotomy in typical cases) */
...
...
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