aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-11 11:02:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-11 11:02:37 +0200
commita2b0699f4f0a9b16382fb66616cd009f7ba6552f (patch)
treeabe076a0b392a0f358ef8d3360a4564cadeb0f04 /libavformat
parentb905a7137a51a9a4f66d75172897d1f38c0b292a (diff)
parent4ebc7d659f0da6c1305ca08cf4303959203fff4b (diff)
downloadffmpeg-a2b0699f4f0a9b16382fb66616cd009f7ba6552f.tar.gz
Merge commit '4ebc7d659f0da6c1305ca08cf4303959203fff4b'
* commit '4ebc7d659f0da6c1305ca08cf4303959203fff4b': rtmp: Use PRId64 when needed. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtmpproto.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index d8269c2eb4..8aadf0d023 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -711,7 +711,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;
@@ -2553,11 +2554,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;
}