diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-08-15 02:00:12 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-08-15 02:00:12 +0000 |
commit | 63fe73995bd1d496f1465a4446c0adc833d204dc (patch) | |
tree | 6e5062a48e5fb39dcbd8165c515a9a0e375ec851 /converter/ppm | |
parent | fed74115faf1c899c1621768a5db09527c667fae (diff) | |
download | netpbm-mirror-63fe73995bd1d496f1465a4446c0adc833d204dc.tar.gz netpbm-mirror-63fe73995bd1d496f1465a4446c0adc833d204dc.tar.xz netpbm-mirror-63fe73995bd1d496f1465a4446c0adc833d204dc.zip |
Release 10.47.58
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@2629 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm')
-rw-r--r-- | converter/ppm/ppmtoilbm.c | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtoyuvsplit.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/converter/ppm/ppmtoilbm.c b/converter/ppm/ppmtoilbm.c index 5de167dc..d296f498 100644 --- a/converter/ppm/ppmtoilbm.c +++ b/converter/ppm/ppmtoilbm.c @@ -635,7 +635,7 @@ ppm_to_ham(fp, cols, rows, maxval, colormap, colors, cmapmaxval, hamplanes) if( DO_COMPRESS ) write_body_rows(); else - do_ham_body(fp, NULL, cols, rows, maxval, hammaxval, + do_ham_body(fp, stdout, cols, rows, maxval, hammaxval, nPlanes, colormap, colors); } diff --git a/converter/ppm/ppmtoyuvsplit.c b/converter/ppm/ppmtoyuvsplit.c index eb89ad29..b5809d0b 100644 --- a/converter/ppm/ppmtoyuvsplit.c +++ b/converter/ppm/ppmtoyuvsplit.c @@ -46,9 +46,9 @@ static void makeOutputFileName(const char * const baseName, struct FileNameSet * const fnameP) { - pm_asprintf(&fnameP->u, "%s.U", baseName); - pm_asprintf(&fnameP->v, "%s.V", baseName); - pm_asprintf(&fnameP->y, "%s.Y", baseName); + asprintfN(&fnameP->u, "%s.U", baseName); + asprintfN(&fnameP->v, "%s.V", baseName); + asprintfN(&fnameP->y, "%s.Y", baseName); } @@ -56,9 +56,9 @@ makeOutputFileName(const char * const baseName, static void termFileNameSet(struct FileNameSet const fname) { - pm_strfree(fname.u); - pm_strfree(fname.v); - pm_strfree(fname.y); + strfree(fname.u); + strfree(fname.v); + strfree(fname.y); } |