[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.123,1.124
Baptiste Coudurier CVS
bcoudurier
Sun Mar 12 14:38:59 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv26124/libavformat
Modified Files:
mov.c
Log Message:
fix conversion types in dprintf
Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- mov.c 11 Mar 2006 18:43:10 -0000 1.123
+++ mov.c 12 Mar 2006 13:38:56 -0000 1.124
@@ -439,7 +439,7 @@
}
total_size += 8;
a.offset += 8;
- dprintf("type: %08x %.4s sz: %Lx %Lx %Lx\n", a.type, (char*)&a.type, a.size, atom.size, total_size);
+ dprintf("type: %08x %.4s sz: %PRIx64 %PRIx64 %PRIx64\n", a.type, (char*)&a.type, a.size, atom.size, total_size);
if (a.size == 1) { /* 64 bit extended size */
a.size = get_be64(pb) - 8;
a.offset += 8;
@@ -738,7 +738,7 @@
if (st->codec->extradata) {
strcpy(st->codec->extradata, "SVQ3"); // fake
get_buffer(pb, st->codec->extradata + 0x5a, atom.size);
- dprintf("Reading SMI %Ld %s\n", atom.size, (char*)st->codec->extradata + 0x5a);
+ dprintf("Reading SMI %PRId64 %s\n", atom.size, (char*)st->codec->extradata + 0x5a);
} else
url_fskip(pb, atom.size);
@@ -1717,7 +1717,7 @@
}
dts = time + (msc->current_sample-1 - sample) * (int64_t)duration;
dts = av_rescale(dts, AV_TIME_BASE, msc->time_scale);
- dprintf("stream: %d dts: %Ld best_dts: %Ld offset: %Ld \n", i, dts, best_dts, offset);
+ dprintf("stream: %d dts: %PRId64 best_dts: %PRId64 offset: %PRId64 \n", i, dts, best_dts, offset);
if(dts < best_dts){
best_dts= dts;
sc = msc;
More information about the ffmpeg-cvslog
mailing list