about summary refs log tree commit diff
path: root/converter/ppm/ppmtompeg/readframe.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-19 07:06:04 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-19 07:06:04 +0000
commit829e481e0f5c33a78caabe7c59149085075cb8c3 (patch)
tree0951bed951c71b4cedfd046d46a08b82b038e93d /converter/ppm/ppmtompeg/readframe.c
parentef58b874261974d29984ac3f0a19f4466c6cfa79 (diff)
downloadnetpbm-mirror-829e481e0f5c33a78caabe7c59149085075cb8c3.tar.gz
netpbm-mirror-829e481e0f5c33a78caabe7c59149085075cb8c3.tar.xz
netpbm-mirror-829e481e0f5c33a78caabe7c59149085075cb8c3.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1937 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/ppmtompeg/readframe.c')
-rw-r--r--converter/ppm/ppmtompeg/readframe.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/converter/ppm/ppmtompeg/readframe.c b/converter/ppm/ppmtompeg/readframe.c
index 112ebdf0..cac6bdad 100644
--- a/converter/ppm/ppmtompeg/readframe.c
+++ b/converter/ppm/ppmtompeg/readframe.c
@@ -67,9 +67,6 @@ struct YuvLine {
  * Global VARIABLES *
  *==================*/
 
-extern boolean GammaCorrection;
-extern float GammaValue;
-extern int outputWidth,outputHeight;
 boolean resizeFrame;
 const char *CurrFile;
 
@@ -828,7 +825,7 @@ MpegFrame *mf;
 int w,h;
 {
   static int GammaVal[256];
-  static boolean init_done=FALSE;
+  static bool init_done=FALSE;
   int i,j;
 
   if (!init_done) {
@@ -882,7 +879,7 @@ DoKillDim(mf, w, h)
 MpegFrame *mf;
 int w,h;
 {
-  static boolean init_done=FALSE;
+  static bool init_done=FALSE;
   static unsigned char mapper[256];
   register int i,j;
   double slope, intercept;