mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/flvdec: Set broken_sizes for FlixEngine.
we found some very old videos which suffered from
corruption after 9e6a242755
, but were fine
before.
These had "End of AC stream reached in vp6_parse_coeff" warnings in logs.
These also had flv Packet mismatch warnings.
Adding FlixEngine to the list of flv muxers which produce broken packet
sizes fixes this corruption.
FlixEngine is very old and not maintained or available anymore (since
2010), so we won't need to worry about newer versions fixing the issue.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
aedbb3c72c
commit
ce8a12fb72
@ -598,8 +598,10 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
|
||||
if (version > 0 && version <= 655)
|
||||
flv->broken_sizes = 1;
|
||||
}
|
||||
} else if (!strcmp(key, "metadatacreator") && !strcmp(str_val, "MEGA")) {
|
||||
flv->broken_sizes = 1;
|
||||
} else if (!strcmp(key, "metadatacreator")) {
|
||||
if ( !strcmp (str_val, "MEGA")
|
||||
|| !strncmp(str_val, "FlixEngine", 10))
|
||||
flv->broken_sizes = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user