diff options
author | ace20022 <ace20022@xbmc.org> | 2015-07-10 14:01:46 +0200 |
---|---|---|
committer | ace20022 <ace20022@xbmc.org> | 2015-07-10 16:33:55 +0200 |
commit | 8a53708fbe75bb6c13708e0d7ee18c7a135fc1ba (patch) | |
tree | ba29cf9f57f4111220c4c3fa794841a0b4f859fb | |
parent | c5a44f3e130d44d1468657c2551163654dcc03c3 (diff) |
[libexif] Increase the possible length of a comment according to the specification.
-rw-r--r-- | lib/libexif/libexif.h | 2 |
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 { |