diff options
author | ace20022 <ace20022@xbmc.org> | 2015-07-10 16:22:18 +0200 |
---|---|---|
committer | ace20022 <ace20022@xbmc.org> | 2015-07-10 16:33:56 +0200 |
commit | 6791014a69035053f9ccf9d93b17c646a1c0e677 (patch) | |
tree | 86605dd0e306b549e3bfd1264ea83fafcc9573f4 /lib/libexif/ExifParse.cpp | |
parent | 5db13451939e3f4599302ada8eef69e52cda464d (diff) |
[libexif] Add an own field for XP comments.
Diffstat (limited to 'lib/libexif/ExifParse.cpp')
-rwxr-xr-x | lib/libexif/ExifParse.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libexif/ExifParse.cpp b/lib/libexif/ExifParse.cpp index 1d4934b84b..1ef43260f7 100755 --- a/lib/libexif/ExifParse.cpp +++ b/lib/libexif/ExifParse.cpp @@ -486,10 +486,10 @@ void CExifParse::ProcessDir(const unsigned char* const DirStart, case TAG_XP_COMMENT: { // The XP user comment field is always unicode (UCS-2) encoded - m_ExifInfo->CommentsCharset = EXIF_COMMENT_CHARSET_UNICODE; + m_ExifInfo->XPCommentsCharset = EXIF_COMMENT_CHARSET_UNICODE; size_t length = min(ByteCount, MAX_COMMENT); - memcpy(m_ExifInfo->Comments, ValuePtr, length); - m_ExifInfo->Comments[length] = '\0'; + memcpy(m_ExifInfo->XPComment, ValuePtr, length); + m_ExifInfo->XPComment[length] = '\0'; } break; |