Bug 1209806: P2. Initialize PDM before attempting to use it. r=gerald

This commit is contained in:
Jean-Yves Avenard 2015-10-01 16:39:58 +10:00
parent d9258cb7ed
commit fa1c3b9ee9

View File

@ -169,6 +169,7 @@ IsFFmpegAvailable()
#ifndef MOZ_FFMPEG
return false;
#else
PlatformDecoderModule::Init();
nsRefPtr<PlatformDecoderModule> m = FFmpegRuntimeLinker::CreateDecoderModule();
return !!m;
#endif