summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/flvdec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 0217cef..34c3e08 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -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;
}
}
}
OpenPOWER on IntegriCloud