From aa909d300f1be6bfa2db66aa1b3e73cf6fc9231f 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 Help debugging, safer. --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 09e9564c50..f252913b62 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -40,7 +40,7 @@ typedef struct TiffContext { int width, height; unsigned int bpp; int le; - int compr; + enum TiffCompr compr; int invert; int fax_opts; int predictor;