Commit b678daf0 authored by Clément Bœsch's avatar Clément Bœsch

lavc/microdvddec: fix color parsing.

parent 47395a4f
...@@ -101,6 +101,8 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, char *s) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment