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

Git pushed a commit to branch master
in repository ffmpeg.

commit 45862d294b4f4a52633416ec01500fceb02706dd
Author:     Baptiste Coudurier <[email protected]>
AuthorDate: Fri Nov 13 16:38:36 2026 -0800
Commit:     Baptiste Coudurier <[email protected]>
CommitDate: Mon Nov 23 06:01:27 2026 +0000

    avformat/mxfenc: compute the CBE IndexByteCount
    
    It was hardcoded and too small with many delta entries.
    
    Signed-off-by: Baptiste Coudurier <[email protected]>
---
 libavformat/mxfenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index e41f602583..de316b51ec 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -2290,7 +2290,7 @@ static int mxf_write_partition(AVFormatContext *s, int 
bodysid,
                            (uint64_t)mxf->edit_units_count * 
MXF_INDEX_ENTRY_SIZE +
                            (uint64_t)(nb_segments - 1) * 
klv_fill_size(full_segment_size);
     } else if (mxf->edit_unit_byte_count && indexsid)
-        index_byte_count = 16 + 4 + 80;
+        index_byte_count = 16 + 4 + mxf_index_header_size(s);
 
     if (index_byte_count)
         index_byte_count += klv_fill_size(index_byte_count);

-- 
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