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

Git pushed a commit to branch master
in repository ffmpeg.

commit c0bdc3b62a508ed50b93a074a123abe9179cecfa
Author:     James Almer <[email protected]>
AuthorDate: Thu May 7 19:48:17 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sat May 16 13:55:22 2026 -0300

    avformat/avformat: add an AVOutputFormat capability flag to signal fixed 
frame size is needed.
    
    And set it on the IAMF muxer.
    
    Signed-off-by: James Almer <[email protected]>
---
 doc/APIchanges         | 3 +++
 libavformat/avformat.h | 3 ++-
 libavformat/iamfenc.c  | 2 +-
 libavformat/version.h  | 4 ++--
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 605672d5d3..28e7b7b31c 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
 
 API changes, most recent first:
 
+2026-05-16 - xxxxxxxxxxx - lavf 62.16.100 - avformat.h
+  Add AVFMT_FIXED_FRAMESIZE.
+
 2026-05-16 - xxxxxxxxxxx - lavc 62.33.100 - avcodec.h
   Add AV_CODEC_FLAG2_FIXED_FRAME_SIZE.
 
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 754c13e558..d6740fcf5d 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -495,6 +495,7 @@ typedef struct AVProbeData {
                                         The user or muxer can override this 
through
                                         AVFormatContext.avoid_negative_ts
                                         */
+#define AVFMT_FIXED_FRAMESIZE 0x80000 /**< Format wants @ref 
AVCodecParameters.frame_size "fixed size audio frames." */
 
 #define AVFMT_SEEK_TO_PTS   0x4000000 /**< Seeking is based on PTS */
 
@@ -520,7 +521,7 @@ typedef struct AVOutputFormat {
      * can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_EXPERIMENTAL,
      * AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS,
      * AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS,
-     * AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE
+     * AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE, AVFMT_FIXED_FRAMESIZE
      */
     int flags;
 
diff --git a/libavformat/iamfenc.c b/libavformat/iamfenc.c
index 3169ff1eb8..52740ef4a6 100644
--- a/libavformat/iamfenc.c
+++ b/libavformat/iamfenc.c
@@ -197,5 +197,5 @@ const FFOutputFormat ff_iamf_muxer = {
     .write_packet      = iamf_write_packet,
     .write_trailer     = iamf_write_trailer,
     .p.codec_tag       = (const AVCodecTag* const []){ iamf_codec_tags, NULL },
-    .p.flags           = AVFMT_GLOBALHEADER | AVFMT_NOTIMESTAMPS,
+    .p.flags           = AVFMT_GLOBALHEADER | AVFMT_NOTIMESTAMPS | 
AVFMT_FIXED_FRAMESIZE,
 };
diff --git a/libavformat/version.h b/libavformat/version.h
index e6fbdfafc5..9e1f484db4 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -31,8 +31,8 @@
 
 #include "version_major.h"
 
-#define LIBAVFORMAT_VERSION_MINOR  15
-#define LIBAVFORMAT_VERSION_MICRO 101
+#define LIBAVFORMAT_VERSION_MINOR  16
+#define LIBAVFORMAT_VERSION_MICRO 100
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
                                                LIBAVFORMAT_VERSION_MINOR, \

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

Reply via email to