summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
Diffstat (limited to 'dom')
-rw-r--r--dom/media/webm/WebMDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/webm/WebMDecoder.cpp b/dom/media/webm/WebMDecoder.cpp
index d721a8ccc..32feda6c0 100644
--- a/dom/media/webm/WebMDecoder.cpp
+++ b/dom/media/webm/WebMDecoder.cpp
@@ -69,7 +69,7 @@ WebMDecoder::CanHandleMediaType(const nsACString& aMIMETypeExcludingCodecs,
continue;
}
#ifdef MOZ_AV1
- if (isVideo && AOMDecoder::IsSupportedCodec(codec)) {
+ if (isWebMVideo && AOMDecoder::IsSupportedCodec(codec)) {
continue;
}
#endif