summaryrefslogtreecommitdiff
path: root/libavformat/rm.c
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-11-01 22:39:58 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-01 22:39:58 +0000
commit949b1a13bf4434ade235fdcd783c5fe0d27c0c3b (patch)
tree78e083fd51f0f9cbf88b86cc2422616608c17c35 /libavformat/rm.c
parent523fc7c17ddd0b4e31b9fb590483ac4c34e0b5f8 (diff)
downloadffmpeg-949b1a13bf4434ade235fdcd783c5fe0d27c0c3b.tar.gz
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r--libavformat/rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c
index 6ae996102a..b4ddf1b027 100644
--- a/libavformat/rm.c
+++ b/libavformat/rm.c
@@ -1022,7 +1022,7 @@ resync:
if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
if(st->codec->codec_id == CODEC_ID_RV20){
int seq= 128*(pkt->data[2]&0x7F) + (pkt->data[3]>>1);
- av_log(NULL, AV_LOG_DEBUG, "%d %Ld %d\n", timestamp, timestamp*512LL/25, seq);
+ av_log(NULL, AV_LOG_DEBUG, "%d %"PRId64" %d\n", timestamp, timestamp*512LL/25, seq);
seq |= (timestamp&~0x3FFF);
if(seq - timestamp > 0x2000) seq -= 0x4000;
@@ -1105,7 +1105,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index,
}
if((flags&2) && (seq&0x7F) == 1){
-// av_log(s, AV_LOG_DEBUG, "%d %d-%d %Ld %d\n", flags, stream_index2, stream_index, dts, seq);
+// av_log(s, AV_LOG_DEBUG, "%d %d-%d %"PRId64" %d\n", flags, stream_index2, stream_index, dts, seq);
av_add_index_entry(st, pos, dts, 0, 0, AVINDEX_KEYFRAME);
if(stream_index2 == stream_index)
break;