1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavc/microdvddec: fix color parsing.

This commit is contained in:
Clément Bœsch 2012-06-15 18:42:10 +02:00
parent 47395a4f52
commit b678daf05c

View File

@ -101,6 +101,8 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, char *s)
case 'C':
tag.persistent = MICRODVD_PERSISTENT_ON;
case 'c':
if (*s == '$')
s++;
tag.data1 = strtol(s, &s, 16) & 0x00ffffff;
if (*s != '}')
break;