Fix compiler warnings.

This commit is contained in:
Johns 2012-07-05 23:59:28 +02:00
parent ca4f519a1f
commit 2d6d151b85
2 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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++;