tiff: Prefer enum TiffCompr over int for TiffContext.compr.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 9 May 2011 19:05:42 +0000 (21:05 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 May 2011 15:37:08 +0000 (17:37 +0200)
This is safer and helps debugging.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/tiff.c

index 1ec78a7..0cd1cdd 100644 (file)
@@ -42,7 +42,7 @@ typedef struct TiffContext {
     int width, height;
     unsigned int bpp;
     int le;
-    int compr;
+    enum TiffCompr compr;
     int invert;
     int fax_opts;
     int predictor;