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

Git pushed a commit to branch master
in repository ffmpeg.

commit e930e2e60ac00c858d1381d6cc0b03df0237636e
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Mar 9 05:57:19 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Jun 23 19:15:57 2026 +0200

    avcodec/exif: Remove avpriv_exif_decode_ifd()
    
    Superseded by the public exif API.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/exif.c          | 17 -----------------
 libavcodec/exif_internal.h |  7 -------
 2 files changed, 24 deletions(-)

diff --git a/libavcodec/exif.c b/libavcodec/exif.c
index 0e97ad690b..b188081801 100644
--- a/libavcodec/exif.c
+++ b/libavcodec/exif.c
@@ -1055,23 +1055,6 @@ int av_exif_ifd_to_dict(void *logctx, const 
AVExifMetadata *ifd, AVDictionary **
     return exif_ifd_to_dict(logctx, "", ifd, metadata);
 }
 
-#if LIBAVCODEC_VERSION_MAJOR < 63
-int avpriv_exif_decode_ifd(void *logctx, const uint8_t *buf, int size,
-                           int le, int depth, AVDictionary **metadata)
-{
-    AVExifMetadata ifd = { 0 };
-    GetByteContext gb;
-    int ret;
-    bytestream2_init(&gb, buf, size);
-    ret = exif_parse_ifd_list(logctx, &gb, le, depth, &ifd, 0);
-    if (ret < 0)
-        return ret;
-    ret = av_exif_ifd_to_dict(logctx, &ifd, metadata);
-    av_exif_free(&ifd);
-    return ret;
-}
-#endif
-
 #define EXIF_COPY(fname, srcname) do { \
     size_t sz; \
     if (av_size_mult(src->count, sizeof(*(fname)), &sz) < 0) { \
diff --git a/libavcodec/exif_internal.h b/libavcodec/exif_internal.h
index 7fd593ce81..68abca03ba 100644
--- a/libavcodec/exif_internal.h
+++ b/libavcodec/exif_internal.h
@@ -34,13 +34,6 @@
 #include "libavutil/frame.h"
 
 #include "exif.h"
-#include "version_major.h"
-
-#if LIBAVCODEC_VERSION_MAJOR < 63
-/* Used by the AVI demuxer */
-int avpriv_exif_decode_ifd(void *logctx, const uint8_t *buf, int size,
-                           int le, int depth, AVDictionary **metadata);
-#endif
 
 /**
  * Compares values in the IFD with data in the provided AVFrame and sets the 
values

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to