This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit e5a3f55c017ddaf9eeecba2a2977d7734f5f7453
Author:     James Almer <[email protected]>
AuthorDate: Thu Oct 8 16:45:33 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Mon Oct 12 10:37:31 2026 -0300

    avcodec/exif: add Apple iOS MakerNote entry
    
    Used by photos taken with iOS based phones.
    
    Signed-off-by: James Almer <[email protected]>
---
 libavcodec/exif.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/exif.c b/libavcodec/exif.c
index bbac4a436d..f5cb3330af 100644
--- a/libavcodec/exif.c
+++ b/libavcodec/exif.c
@@ -415,6 +415,7 @@ static void exif_write_values(PutByteContext *pb, int le, 
const AVExifEntry *ent
 }
 
 static const uint8_t aoc_header[] = { 'A', 'O', 'C', 0, };
+static const uint8_t apple_header[] = { 'A', 'p', 'p', 'l', 'e', ' ', 'i', 
'O', 'S', 0, 0, 1, 'M', 'M'};
 static const uint8_t casio_header[] = { 'Q', 'V', 'C', 0, 0, 0, };
 static const uint8_t foveon_header[] = { 'F', 'O', 'V', 'E', 'O', 'N', 0, 0, };
 static const uint8_t fuji_header[] = { 'F', 'U', 'J', 'I', };
@@ -439,6 +440,7 @@ struct exif_makernote_data {
 
 static const struct exif_makernote_data makernote_data[] = {
     MAKERNOTE_STRUCT(aoc_header, 6),
+    MAKERNOTE_STRUCT(apple_header, 14),
     MAKERNOTE_STRUCT(casio_header, -1),
     MAKERNOTE_STRUCT(foveon_header, 10),
     MAKERNOTE_STRUCT(fuji_header, -1),

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to