[FFmpeg-devel] [PATCH] tiff: prefer enum TiffCompr over int for TiffContext.compr

Stefano Sabatini stefano.sabatini-lala at poste.it
Mon May 9 22:27:34 CEST 2011


Help debugging, safer.
---
 libavcodec/tiff.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 09e9564..f252913 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;
-- 
1.7.2.3



More information about the ffmpeg-devel mailing list