mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-04 22:50:24 +00:00
avformat/movenc: fix mov_create_dvd_sub_decoder_specific_info
It has been broken since 3064487.
This commit is contained in:
parent
9e71ea2d60
commit
1aefacfda4
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue