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

Git pushed a commit to branch master
in repository ffmpeg.

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

commit 1aefacfda4100b435f920ac20fe48651e1840b2b
Author:     Damiano Galassi <[email protected]>
AuthorDate: Wed Apr 29 10:26:48 2026 +0200
Commit:     James Almer <[email protected]>
CommitDate: Wed May 20 13:53:37 2026 +0000

    avformat/movenc: fix mov_create_dvd_sub_decoder_specific_info
    
    It has been broken since 3064487.
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 6d551bb930..10ea818dd3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7928,7 +7928,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) {

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

Reply via email to