[FFmpeg-cvslog] rtmp: Use PRId64 when needed.

Luca Barbato git at videolan.org
Sun Aug 11 11:11:26 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Thu Aug  8 17:43:15 2013 +0200| [4ebc7d659f0da6c1305ca08cf4303959203fff4b] | committer: Luca Barbato

rtmp: Use PRId64 when needed.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ebc7d659f0da6c1305ca08cf4303959203fff4b
---

 libavformat/rtmpproto.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index c7cc87e..8245c1d 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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;
     }



More information about the ffmpeg-cvslog mailing list