summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/seek-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 519f9492ab..34238e0e5d 100644
--- a/libavformat/seek-test.c
+++ b/libavformat/seek-test.c
@@ -53,7 +53,7 @@ static void ts_str(char buffer[60], int64_t ts, AVRational base)
return;
}
ts= av_rescale_q(ts, base, (AVRational){1, 1000000});
- snprintf(buffer, 60, "%c%Ld.%06Ld", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000);
+ snprintf(buffer, 60, "%c%"PRId64".%06"PRId64"", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000);
}
int main(int argc, char **argv)