summaryrefslogtreecommitdiff
path: root/libavformat/seek-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-12 02:03:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-12 02:03:38 +0100
commitcd2f7ed0007f4803b6bd845366b2398abb32c355 (patch)
treef85a4899863323496caa887989808ede8c3862cd /libavformat/seek-test.c
parent02a01c2fa168fcf3943c81aa0360076dd4856427 (diff)
seek-test: use standard format specifiers in snprintf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/seek-test.c')
-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)