mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/microdvddec: fix color parsing.
This commit is contained in:
parent
47395a4f52
commit
b678daf05c
|
@ -101,6 +101,8 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, char *s)
|
||||||
case 'C':
|
case 'C':
|
||||||
tag.persistent = MICRODVD_PERSISTENT_ON;
|
tag.persistent = MICRODVD_PERSISTENT_ON;
|
||||||
case 'c':
|
case 'c':
|
||||||
|
if (*s == '$')
|
||||||
|
s++;
|
||||||
tag.data1 = strtol(s, &s, 16) & 0x00ffffff;
|
tag.data1 = strtol(s, &s, 16) & 0x00ffffff;
|
||||||
if (*s != '}')
|
if (*s != '}')
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue