mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 843376 - nsMediaSniffer.cpp(13) : fatal error C1083: Cannot open include file: 'nestegg/nestegg.h', r=padenot
This commit is contained in:
parent
ba46adc7bd
commit
876a554a3c
@ -10,7 +10,9 @@
|
||||
#include "nsString.h"
|
||||
#include "nsMimeTypes.h"
|
||||
#include "mozilla/ModuleUtils.h"
|
||||
#ifdef MOZ_WEBM
|
||||
#include "nestegg/nestegg.h"
|
||||
#endif
|
||||
|
||||
#include "nsIClassInfoImpl.h"
|
||||
#include <algorithm>
|
||||
@ -68,7 +70,11 @@ static bool MatchesMP4(const uint8_t* aData, const uint32_t aLength)
|
||||
|
||||
static bool MatchesWebM(const uint8_t* aData, const uint32_t aLength)
|
||||
{
|
||||
#ifdef MOZ_WEBM
|
||||
return nestegg_sniff((uint8_t*)aData, aLength) ? true : false;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user