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

Git pushed a commit to branch master
in repository ffmpeg.

commit 57397a683d6807416f7d05a4ea553f8ca6b2e0a9
Author:     Jun Zhao <[email protected]>
AuthorDate: Sun Apr 12 21:28:20 2026 +0800
Commit:     Marvin Scholz <[email protected]>
CommitDate: Sun Apr 12 22:15:51 2026 +0000

    lavc/videotoolboxenc: return SEI parse errors
    
    Return the actual find_sei_end() error when SEI appending fails instead of
    reusing the previous status code. This preserves the real parse failure for
    callers instead of reporting malformed SEI handling as success.
    
    Signed-off-by: Jun Zhao <[email protected]>
---
 libavcodec/videotoolboxenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 63e93b9d10..cb3571c723 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2150,7 +2150,7 @@ static int copy_replace_length_codes(
             uint8_t *new_sei;
             old_sei_length = find_sei_end(avctx, dst_box, box_len, &new_sei);
             if (old_sei_length < 0)
-                return status;
+                return old_sei_length;
 
             wrote_bytes = write_sei(sei,
                                     SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35,

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

Reply via email to