From a8aea8f6680baae98c7ac23245955958bdcca38d Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Fri, 14 Feb 2020 15:02:58 +0100 Subject: [PATCH] accept files that only have a 'mif1' brand (#199) --- libheif/heif_file.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libheif/heif_file.cc b/libheif/heif_file.cc index 71aed56d27..37be968c1b 100644 --- a/libheif/heif_file.cc +++ b/libheif/heif_file.cc @@ -200,7 +200,8 @@ Error HeifFile::parse_heif_file(BitstreamRange& range) } if (!m_ftyp_box->has_compatible_brand(fourcc("heic")) && - !m_ftyp_box->has_compatible_brand(fourcc("heix"))) { + !m_ftyp_box->has_compatible_brand(fourcc("heix")) && + !m_ftyp_box->has_compatible_brand(fourcc("mif1"))) { std::stringstream sstr; sstr << "File does not include any supported brands.\n";