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

Git pushed a commit to branch release/8.0
in repository ffmpeg.

The following commit(s) were added to refs/heads/release/8.0 by this push:
     new f7a9cd23e8 avformat/movenc: fix 
mov_create_dvd_sub_decoder_specific_info
f7a9cd23e8 is described below

commit f7a9cd23e8520ea3c2bc48e166c14b50ca81c8dc
Author:     Damiano Galassi <[email protected]>
AuthorDate: Wed Apr 29 10:26:48 2026 +0200
Commit:     Marvin Scholz <[email protected]>
CommitDate: Thu Oct 22 02:01:46 2026 +0000

    avformat/movenc: fix mov_create_dvd_sub_decoder_specific_info
    
    It has been broken since 3064487.
    
    (cherry picked from commit 1aefacfda4100b435f920ac20fe48651e1840b2b)
    Signed-off-by: Marvin Scholz <[email protected]>
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 666a0630d9..16fb28400c 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7694,7 +7694,7 @@ static int 
mov_create_dvd_sub_decoder_specific_info(MOVTrack *track,
     int i, width = 720, height = 480;
     int have_palette = 0, have_size = 0;
     uint32_t palette[16];
-    char *cur = track->extradata[track->last_stsd_index];
+    char *cur = st->codecpar->extradata;
 
     while (cur && *cur) {
         if (strncmp("palette:", cur, 8) == 0) {

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