mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-19 19:42:55 +00:00
avcodec/microdvddec: support various broken form of color tags
Inspired by a patch from Michal Wazgird <mplayer@cyryl.net> See https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2014-November/072772.html
This commit is contained in:
parent
cad3148ea3
commit
8ef46f4a0c
@ -101,7 +101,7 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, char *s)
|
||||
case 'C':
|
||||
tag.persistent = MICRODVD_PERSISTENT_ON;
|
||||
case 'c':
|
||||
if (*s == '$')
|
||||
while (*s == '$' || *s == '#')
|
||||
s++;
|
||||
tag.data1 = strtol(s, &s, 16) & 0x00ffffff;
|
||||
if (*s != '}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user