mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Update USE_FFMPEG checks
This commit is contained in:
1 parent
fc58a97024
commit
5b3be0d720
3 files changed
+29
-1
No files matched your search
@@ -38,6 +38,15 @@ extern "C" {
|
||||
#include "Core/FFMPEGCompat.h"
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
extern "C" {
|
||||
struct AVCodec;
|
||||
struct AVCodecContext;
|
||||
struct SwrContext;
|
||||
struct AVFrame;
|
||||
}
|
||||
|
||||
#endif // USE_FFMPEG
|
||||
|
||||
// FFMPEG-based decoder. TODO: Replace with individual codecs.
|
||||
@@ -77,7 +86,7 @@ private:
|
||||
#if HAVE_LIBAVCODEC_CONST_AVCODEC // USE_FFMPEG is implied
|
||||
const
|
||||
#endif
|
||||
AVCodec *codec_;
|
||||
AVCodec *codec_;
|
||||
AVCodecContext *codecCtx_;
|
||||
SwrContext *swrCtx_;
|
||||
|
||||
|
||||
Reference in new issue
Block a user