summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:27 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:27 -0500
commitc20b0d75a7d9b5cc88d037f602184d6c313e7942 (patch)
tree29493ecd6a4dd21ff966c29f4fc20a396ef9d715 /dom
parent5c005621a633a42d04fb7d540a1ee0587a806446 (diff)
downloadaura-central-c20b0d75a7d9b5cc88d037f602184d6c313e7942.tar.gz
Revert "Issue %3057 - Part 6: Revert some of the previous changes for new approach."
This reverts commit 2b321abe2ee48f8c33de8e7f90b59ba0e88e388d.
Diffstat (limited to 'dom')
-rw-r--r--dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
index 02be71e4d..cd10401bb 100644
--- a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
+++ b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
@@ -76,7 +76,11 @@ FFVPXRuntimeLinker::Init()
return false;
}
nsAutoCString rootPath;
+#ifdef XP_WIN
+ if (NS_FAILED(rootDir->GetPersistentDescriptor(rootPath))) {
+#else
if (NS_FAILED(rootDir->GetNativePath(rootPath))) {
+#endif
return false;
}