https://github.com/libsdl-org/libtiff/commit/61be4d8afcdeb693cbc4243d4996e70416a8d326
From 61be4d8afcdeb693cbc4243d4996e70416a8d326 Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <[EMAIL REDACTED]>
Date: Sat, 31 Oct 2009 21:51:08 +0000
Subject: [PATCH] * libtiff/tif_dirwrite.c (TIFFWriteAnyArray): Add missing
break statement so writing an array of TIFF_DOUBLE works.
---
ChangeLog | 5 +++++
libtiff/tif_dirwrite.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index bf28698d..c9fe454a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
+ * libtiff/tif_dirwrite.c (TIFFWriteAnyArray): Add missing break
+ statement so writing an array of TIFF_DOUBLE works.
+
2009-10-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
diff --git a/libtiff/tif_dirwrite.c b/libtiff/tif_dirwrite.c
index d5873dec..5148097d 100644
--- a/libtiff/tif_dirwrite.c
+++ b/libtiff/tif_dirwrite.c
@@ -1,4 +1,4 @@
-/* $Id: tif_dirwrite.c,v 1.37.2.5 2009-08-28 17:24:56 fwarmerdam Exp $ */
+/* $Id: tif_dirwrite.c,v 1.37.2.6 2009-10-31 21:51:08 bfriesen Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -1144,6 +1144,7 @@ TIFFWriteAnyArray(TIFF* tif,
if( !TIFFWriteDoubleArray(tif, dir, v))
goto out;
}
+ break;
default:
/* TIFF_NOTYPE */
/* TIFF_ASCII */