From 8102d886be012dc7a519da23b3278d36ae860f6d Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 9 May 2011 21:05:42 +0200 Subject: [PATCH] tiff: Prefer enum TiffCompr over int for TiffContext.compr. This is safer and helps debugging. Signed-off-by: Diego Biurrun --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 1ec78a712..0cd1cddd6 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; -- 2.11.0