aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorace20022 <ace20022@xbmc.org>2015-07-10 14:01:46 +0200
committerace20022 <ace20022@xbmc.org>2015-07-10 16:33:55 +0200
commit8a53708fbe75bb6c13708e0d7ee18c7a135fc1ba (patch)
treeba29cf9f57f4111220c4c3fa794841a0b4f859fb
parentc5a44f3e130d44d1468657c2551163654dcc03c3 (diff)
[libexif] Increase the possible length of a comment according to the specification.
-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 {