This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/8.1
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/8.1 by this push:
new e25fefc85e avformat/movenc: fix
mov_create_dvd_sub_decoder_specific_info
e25fefc85e is described below
commit e25fefc85e7450a136673def715629b6713def23
Author: Damiano Galassi <[email protected]>
AuthorDate: Wed Apr 29 10:26:48 2026 +0200
Commit: Marvin Scholz <[email protected]>
CommitDate: Wed Oct 21 19:32:37 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 9c49e3e74a..017a5e4b2a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7783,7 +7783,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]