summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codec.c6
-rw-r--r--video.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/codec.c b/codec.c
index ca43073..7dca837 100644
--- a/codec.c
+++ b/codec.c
@@ -935,9 +935,9 @@ static void CodecAudioSetClock(AudioDecoder * audio_decoder, int64_t pts)
if (0) {
Debug(3,
- "codec/audio: interval P:%5zdms T:%5" PRId64 "ms D:%4" PRId64
- "ms %f %d\n", pts_diff / 90, tim_diff / (1000 * 1000), delay / 90,
- drift / 90.0, audio_decoder->DriftCorr);
+ "codec/audio: interval P:%5 " PRId64 "ms T:%5" PRId64 "ms D:%4"
+ PRId64 "ms %f %d\n", pts_diff / 90, tim_diff / (1000 * 1000),
+ delay / 90, drift / 90.0, audio_decoder->DriftCorr);
}
// underruns and av_resample have the same time :(((
if (abs(drift) > 10 * 90) {
diff --git a/video.c b/video.c
index 62440d1..41b25ec 100644
--- a/video.c
+++ b/video.c
@@ -7760,8 +7760,8 @@ static void VdpauDisplayFrame(void)
// FIXME: 21 only correct for 50Hz
if (last_time && first_time > last_time + 21 * 1000 * 1000) {
// FIXME: ignore still-frame, trick-speed
- Debug(3, "video/vdpau: %ld display time %ld\n", first_time / 1000,
- (first_time - last_time) / 1000);
+ Debug(3, "video/vdpau: %" PRId64 " display time %" PRId64 "\n",
+ first_time / 1000, (first_time - last_time) / 1000);
// FIXME: can be more than 1 frame long shown
for (i = 0; i < VdpauDecoderN; ++i) {
VdpauDecoders[i]->FramesMissed++;