aboutsummaryrefslogtreecommitdiffstats
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
authorSam Hocevar <sam+ffmpeg@zoy.org>2005-09-21 00:09:02 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-21 00:09:02 +0000
commit528bbdde7f1cb7512cdab7b0fb78dc5da37cef0c (patch)
tree83ac43f4f143e2a8e7c14c9b2d7e1e2c2c0e8d6e /tests/rotozoom.c
parent96f2c1fbce594d0dca8c41cb2d7de8d24ec67ebe (diff)
downloadffmpeg-528bbdde7f1cb7512cdab7b0fb78dc5da37cef0c.tar.gz
Add a leading zero to the sequence files generated by the testsuite
so they always appear in proper order. patch by Sam Hocevar < sam -- at -- zoy -- dot -- org > Originally committed as revision 4606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index adbd0ae054..bad32995f3 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -279,7 +279,7 @@ int main(int argc, char **argv)
init_demo(argv[2]);
for(i=0;i<DEFAULT_NB_PICT;i++) {
- snprintf(buf, sizeof(buf), "%s%d.pgm", argv[1], i);
+ snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[1], i);
gen_image(i, w, h);
pgmyuv_save(buf, w, h, rgb_tab);
}