aboutsummaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
authorMåns Rullgård2005-12-12 01:56:46 +0000
committerMåns Rullgård2005-12-12 01:56:46 +0000
commit4733abcbf30fb662785d0c4ad3a0601e749dc57d (patch)
tree5b8bbe0c89f35eb6fedc535909dae1ffc65bc67f /vhook
parentfccfc4753386d3aacb067f5e4117ea4d266acf72 (diff)
use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/fish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/fish.c b/vhook/fish.c
index 5a274a848e..f9a605a54c 100644
--- a/vhook/fish.c
+++ b/vhook/fish.c
@@ -338,7 +338,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width,
FILE *f;
char fname[256];
- snprintf(fname, sizeof(fname), "%s/fishimg%ld_%lld.ppm", ci->dir, (long)(av_gettime() / 1000000), pts);
+ snprintf(fname, sizeof(fname), "%s/fishimg%ld_%"PRId64".ppm", ci->dir, (long)(av_gettime() / 1000000), pts);
f = fopen(fname, "w");
if (f) {
fprintf(f, "P6 %d %d 255\n", width, height);