lottieparser: Stop parsing if the media type is unlikely to lottie.
authorHermet Park <hermetpark@gmail.com>
Tue, 30 Jul 2019 08:24:34 +0000 (17:24 +0900)
committerHermet Park <hermetpark@gmail.com>
Fri, 9 Aug 2019 08:54:30 +0000 (17:54 +0900)
commitf3b3d6b940225594a97846015f42c6fb325463fe
treea558a1f3754ac94a579a144fef2b4f773495e292
parent9836271b9426b8e25ed6128dbc766d386f76bfe7
lottieparser: Stop parsing if the media type is unlikely to lottie.

Users may need to try a load data in a brutal-force way,
if they have no idea of input source.

This case, they have no choices but try using all methods to find out
which loader successfully loaded among various media loaders.

This is a common scenario for compatible media support.
src/lottie/lottieparser.cpp