aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libexif/libexif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libexif/libexif.h b/lib/libexif/libexif.h
index daed07097f..2474fe878d 100644
--- a/lib/libexif/libexif.h
+++ b/lib/libexif/libexif.h
@@ -81,7 +81,7 @@ typedef struct {
#define EXIF_COMMENT_CHARSET_UNICODE 3 // Exif: Unicode (UTF-16)
#define EXIF_COMMENT_CHARSET_JIS 4 // Exif: JIS X208-1990
-#define MAX_COMMENT 2000
+#define MAX_COMMENT 65533 // 2 bytes - 2 for the length param
#define MAX_DATE_COPIES 10
typedef struct {