diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-01 01:26:01 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-02-01 01:26:01 +0000 |
commit | dcccadd1c5825afb370d739f6536b8bfb2b21d4a (patch) | |
tree | cfb8358cca0b7008068943aa81c7d5cede29be47 /dom/media | |
parent | 582036d33f9bf2b42ee5afe8989934597fa5849a (diff) | |
download | aura-central-dcccadd1c5825afb370d739f6536b8bfb2b21d4a.tar.gz |
Issue %3057 - Part 3b: Switch PP logic in ffvpx.
Since Windows is the special case...
Diffstat (limited to 'dom/media')
-rw-r--r-- | dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp | 6 |
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 5446066dc..cd10401bb 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_UNIX - if (NS_FAILED(rootDir->GetNativePath(rootPath))) { -#else +#ifdef XP_WIN if (NS_FAILED(rootDir->GetPersistentDescriptor(rootPath))) { +#else + if (NS_FAILED(rootDir->GetNativePath(rootPath))) { #endif return false; } |