Browse Source

lavc/microdvddec: fix color parsing.

tags/n1.0
Clément Bœsch 13 years ago
parent
commit
b678daf05c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/microdvddec.c

+ 2
- 0
libavcodec/microdvddec.c 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;


Loading…
Cancel
Save