summaryrefslogtreecommitdiff
path: root/libavcodec/tiff.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-09 21:05:42 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-12 17:37:08 +0200
commit8102d886be012dc7a519da23b3278d36ae860f6d (patch)
treece9fc9d03e4d7c8d344a759c19b930385c92668c /libavcodec/tiff.c
parent5f0bb0baefd506d684adfa1ad4259c65973b455e (diff)
tiff: Prefer enum TiffCompr over int for TiffContext.compr.
This is safer and helps debugging. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 1ec78a7125..0cd1cddd62 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -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;