OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0bb0b
)
tiff: Prefer enum TiffCompr over int for TiffContext.compr.
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Mon, 9 May 2011 19:05:42 +0000
(21:05 +0200)
committer
Diego 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
patch
|
blob
|
history
diff --git
a/libavcodec/tiff.c
b/libavcodec/tiff.c
index
1ec78a7
..
0cd1cdd
100644
(file)
--- 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;