[FFmpeg-cvslog] seek-test: use standard format specifiers in snprintf()
Michael Niedermayer
git at videolan.org
Tue Dec 13 22:09:38 CET 2011
ffmpeg | branch: release/0.9 | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 12 02:03:38 2011 +0100| [7881dad2b287117a789693942c2b002cc3ecc75b] | committer: Michael Niedermayer
seek-test: use standard format specifiers in snprintf()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit cd2f7ed0007f4803b6bd845366b2398abb32c355)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7881dad2b287117a789693942c2b002cc3ecc75b
---
libavformat/seek-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 519f949..34238e0 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)
More information about the ffmpeg-cvslog
mailing list