aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@eff87b29-5268-4891-90a3-a07138403961>2000-09-21 09:51:45 +0000
committergoodale <goodale@eff87b29-5268-4891-90a3-a07138403961>2000-09-21 09:51:45 +0000
commitdd8258ecb8896aad2ccc92f9e8db680b7bd2bab0 (patch)
treed835466f805171b91922f10c6e5b025d954b8159
parent5929b97f708952c6bf22ccca094aa3cee27a64e4 (diff)
Minor fixes.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@13 eff87b29-5268-4891-90a3-a07138403961
-rw-r--r--src/DumpVar.c4
-rw-r--r--src/JPEG.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c
index 8ebee86..c77c9d8 100644
--- a/src/DumpVar.c
+++ b/src/DumpVar.c
@@ -104,9 +104,9 @@ int IOJpeg_DumpVar (cGH *GH, int index, int timelevel, IOJpegGeo_t *geo, FILE *f
if (data)
free (data);
- if (hsize)
+ if (hsizes)
{
- free (hsize);
+ free (hsizes);
}
return (0);
diff --git a/src/JPEG.c b/src/JPEG.c
index 4632437..588facc 100644
--- a/src/JPEG.c
+++ b/src/JPEG.c
@@ -254,7 +254,7 @@ void AutoColorDataSlice(int nx,int ny, /* size of the image x & y */
}
}
-#ifdef 0
+#if 0
int main(int argc,char *argv[]){
/* OK, lets create a bogus image */
int nx=512,ny=512;