diff options
author | Sam Hocevar <sam+ffmpeg@zoy.org> | 2005-09-21 00:09:02 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-09-21 00:09:02 +0000 |
commit | 528bbdde7f1cb7512cdab7b0fb78dc5da37cef0c (patch) | |
tree | 83ac43f4f143e2a8e7c14c9b2d7e1e2c2c0e8d6e /tests/videogen.c | |
parent | 96f2c1fbce594d0dca8c41cb2d7de8d24ec67ebe (diff) | |
download | ffmpeg-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/videogen.c')
-rw-r--r-- | tests/videogen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/videogen.c b/tests/videogen.c index 0a7924301b..626dd0672c 100644 --- a/tests/videogen.c +++ b/tests/videogen.c @@ -268,7 +268,7 @@ int main(int argc, char **argv) height = h; 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); } |