summaryrefslogtreecommitdiff
path: root/libavcodec/tiffenc.c
diff options
context:
space:
mode:
authorThomas Kühnel <kuehnelth@googlemail.com>2011-10-04 00:19:52 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-14 13:02:38 +0200
commit75abfab6c6ecd284092bee5e81d35ad7934e2425 (patch)
tree9b7cfdef47c41d7e548d4acae81f6b636f214954 /libavcodec/tiffenc.c
parentfb5718069853558b0c114176de2e174125b4dfd9 (diff)
lavc/tiff: add GeoTIFF support to the TIFF decoder
Work done for SOCIS 2011. See thread: Subject: [libav-devel] [PATCH 2/3] tiff: Add GeoTIFF support to the TIFF decoder Date: Tue, 4 Oct 2011 00:19:52 +0200 Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r--libavcodec/tiffenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 5d4f50cee2..abc9ba2a03 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -44,8 +44,8 @@
#define TIFF_MAX_ENTRY 32
/** sizes of various TIFF field types (string size = 1)*/
-static const uint8_t type_sizes2[6] = {
- 0, 1, 1, 2, 4, 8
+static const uint8_t type_sizes2[14] = {
+ 0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8, 4
};
typedef struct TiffEncoderContext {