// Copyright Epic Games, Inc. All Rights Reserved. #include "libav_Decoder_VP8.h" /***************************************************************************************************************************************************/ #if WITH_LIBAV extern "C" { #include } bool ILibavDecoderVP8::IsAvailable() { return ILibavDecoderVideoCommon::IsAvailable(AV_CODEC_ID_VP8); } TSharedPtr ILibavDecoderVP8::Create(ILibavDecoderVideoResourceAllocator* InVideoResourceAllocator, const TMap& InOptions) { return ILibavDecoderVideoCommon::Create(AV_CODEC_ID_VP8, InVideoResourceAllocator, InOptions); } #else bool ILibavDecoderVP8::IsAvailable() { // Call common method to have it print an appropriate not-available message. ILibavDecoder::LogLibraryNeeded(); return false; } TSharedPtr ILibavDecoderVP8::Create(ILibavDecoderVideoResourceAllocator* InVideoResourceAllocator, const TMap& InOptions) { return nullptr; } #endif