mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
avformat/movenc: fix mov_create_dvd_sub_decoder_specific_info
It has been broken since3064487. (cherry picked from commit1aefacfda4) Signed-off-by: Marvin Scholz <epirat07@gmail.com>
This commit is contained in:
committed by
Marvin Scholz
parent
d19d80efd2
commit
f7a9cd23e8
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user