summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:48 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:48 -0500
commit3aa81cd8e8b23c19c8a98cf4550cd030a2b4fad8 (patch)
treee7f642546d535248b9d3adc520f008c4f6f310aa /dom
parenteade96a6b6051d17f8f3cec240a11f3afe042d5e (diff)
downloadaura-central-3aa81cd8e8b23c19c8a98cf4550cd030a2b4fad8.tar.gz
Revert "Issue %3057 - Part 3b: Switch PP logic in ffvpx."
This reverts commit dcccadd1c5825afb370d739f6536b8bfb2b21d4a.
Diffstat (limited to 'dom')
-rw-r--r--dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
index cd10401bb..5446066dc 100644
--- a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
+++ b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
@@ -76,10 +76,10 @@ FFVPXRuntimeLinker::Init()
return false;
}
nsAutoCString rootPath;
-#ifdef XP_WIN
- if (NS_FAILED(rootDir->GetPersistentDescriptor(rootPath))) {
-#else
+#ifdef XP_UNIX
if (NS_FAILED(rootDir->GetNativePath(rootPath))) {
+#else
+ if (NS_FAILED(rootDir->GetPersistentDescriptor(rootPath))) {
#endif
return false;
}