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
4ebc7d65
Commit
4ebc7d65
authored
Aug 08, 2013
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtmp: Use PRId64 when needed.
parent
5a9a9d4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
rtmpproto.c
libavformat/rtmpproto.c
+5
-3
No files found.
libavformat/rtmpproto.c
View file @
4ebc7d65
...
...
@@ -714,7 +714,8 @@ static int gen_seek(URLContext *s, RTMPContext *rt, int64_t timestamp)
uint8_t
*
p
;
int
ret
;
av_log
(
s
,
AV_LOG_DEBUG
,
"Sending seek command for timestamp %lld
\n
"
,
timestamp
);
av_log
(
s
,
AV_LOG_DEBUG
,
"Sending seek command for timestamp %"
PRId64
"
\n
"
,
timestamp
);
if
((
ret
=
ff_rtmp_packet_create
(
&
pkt
,
3
,
RTMP_PT_INVOKE
,
0
,
26
))
<
0
)
return
ret
;
...
...
@@ -2552,11 +2553,12 @@ static int64_t rtmp_seek(URLContext *s, int stream_index, int64_t timestamp,
RTMPContext
*
rt
=
s
->
priv_data
;
int
ret
;
av_log
(
s
,
AV_LOG_DEBUG
,
"Seek on stream index %d at timestamp %
lld
with flags %08x
\n
"
,
"Seek on stream index %d at timestamp %
"
PRId64
"
with flags %08x
\n
"
,
stream_index
,
timestamp
,
flags
);
if
((
ret
=
gen_seek
(
s
,
rt
,
timestamp
))
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Unable to send seek command on stream index %d at timestamp %lld with flags %08x
\n
"
,
"Unable to send seek command on stream index %d at timestamp "
"%"
PRId64
" with flags %08x
\n
"
,
stream_index
,
timestamp
,
flags
);
return
ret
;
}
...
...
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