mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-21 18:21:51 +00:00
Move ffmpeg core files
This commit is contained in:
parent
a25bc08d60
commit
1e681cad4e
@ -872,7 +872,7 @@ endif
|
||||
|
||||
ifeq ($(HAVE_FFMPEG), 1)
|
||||
OBJ += record/drivers/record_ffmpeg.o \
|
||||
cores/ffmpeg_core.o
|
||||
cores/libretro-ffmpeg/ffmpeg_core.o
|
||||
LIBS += $(AVCODEC_LIBS) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(SWSCALE_LIBS) $(SWRESAMPLE_LIBS) $(FFMPEG_LIBS)
|
||||
DEFINES += $(AVCODEC_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS) $(SWSCALE_CFLAGS) $(SWRESAMPLE_CFLAGS)
|
||||
DEFINES += -DHAVE_FFMPEG -Iffmpeg
|
||||
|
2188
cores/libretro-ffmpeg/Makefile
Normal file
2188
cores/libretro-ffmpeg/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,12 +35,11 @@ extern "C" {
|
||||
#include <rthreads/rthreads.h>
|
||||
#include <queues/fifo_buffer.h>
|
||||
|
||||
#include "libretro.h"
|
||||
#ifdef RARCH_INTERNAL
|
||||
#include "internal_cores.h"
|
||||
#include "../libretro.h"
|
||||
#define CORE_PREFIX(s) libretro_ffmpeg_##s
|
||||
#else
|
||||
#include "libretro.h"
|
||||
#define CORE_PREFIX(s) s
|
||||
#endif
|
||||
|
1
cores/libretro-ffmpeg/internal_cores.h
Normal file
1
cores/libretro-ffmpeg/internal_cores.h
Normal file
@ -0,0 +1 @@
|
||||
#include "../internal_cores.h"
|
1
cores/libretro-ffmpeg/libretro.h
Normal file
1
cores/libretro-ffmpeg/libretro.h
Normal file
@ -0,0 +1 @@
|
||||
#include "../../libretro.h"
|
5
cores/libretro-ffmpeg/link.T
Normal file
5
cores/libretro-ffmpeg/link.T
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
global: retro_*;
|
||||
local: *;
|
||||
};
|
||||
|
@ -580,7 +580,7 @@ DYNAMIC
|
||||
CORES
|
||||
============================================================ */
|
||||
#ifdef HAVE_FFMPEG
|
||||
#include "../cores/ffmpeg_core.c"
|
||||
#include "../cores/libretro-ffmpeg/ffmpeg_core.c"
|
||||
#endif
|
||||
|
||||
#include "../cores/dynamic_dummy.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user