From 5ea428adec51abefe0fc8e31902db80231fcf138 Mon Sep 17 00:00:00 2001 From: John Lin Date: Tue, 3 May 2016 13:52:37 +0800 Subject: [PATCH] Bug 1269260 - Treat 'iso?' file as MP4 video. r=jya MozReview-Commit-ID: B4v8LNd479i --HG-- extra : rebase_source : fed0c7620a1a310c4ec0bd38c48f2da165fb65c9 --- toolkit/components/mediasniffer/nsMediaSniffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/components/mediasniffer/nsMediaSniffer.cpp b/toolkit/components/mediasniffer/nsMediaSniffer.cpp index b288593617c1..512772f7b6bf 100644 --- a/toolkit/components/mediasniffer/nsMediaSniffer.cpp +++ b/toolkit/components/mediasniffer/nsMediaSniffer.cpp @@ -44,6 +44,7 @@ nsMediaSnifferEntry sFtypEntries[] = { PATTERN_ENTRY("\xFF\xFF\xFF\xFF", "M4A ", AUDIO_MP4), PATTERN_ENTRY("\xFF\xFF\xFF\xFF", "M4P ", AUDIO_MP4), PATTERN_ENTRY("\xFF\xFF\xFF\xFF", "qt ", VIDEO_QUICKTIME), + PATTERN_ENTRY("\xFF\xFF\xFF", "iso", VIDEO_MP4), // Could be isom or iso2. }; static bool MatchesBrands(const uint8_t aData[4], nsACString& aSniffedType)