summaryrefslogtreecommitdiffstats
path: root/dom/media/webm/WebMDecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webm/WebMDecoder.cpp')
-rw-r--r--dom/media/webm/WebMDecoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/media/webm/WebMDecoder.cpp b/dom/media/webm/WebMDecoder.cpp
index 5cb943742..cbe9ffdb7 100644
--- a/dom/media/webm/WebMDecoder.cpp
+++ b/dom/media/webm/WebMDecoder.cpp
@@ -82,6 +82,10 @@ WebMDecoder::CanHandleMediaType(const nsACString& aMIMETypeExcludingCodecs,
continue;
}
+ if (IsAACCodecString(codec)) {
+ continue;
+ }
+
// Some unsupported codec.
return false;
}