Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ else ifeq ($(TARGET), $(_EXE)-41)
else ifeq ($(TARGET), $(_EXE)-60)
FF_VER := 6.0
EXE := $(TARGET)
else ifeq ($(TARGET), $(_EXE)-70)
FF_VER := 7.0
EXE := $(TARGET)
else ifeq ($(TARGET), $(_EXE)-71)
FF_VER := 7.1
EXE := $(TARGET)
endif

ifeq ($(OS),Windows_NT)
Expand Down Expand Up @@ -99,6 +105,8 @@ ifneq ($(FF_VER), shared)
FF_MAJOR_VER := $(word 1, $(subst ., ,$(FF_VER)))
ifeq ($(shell test $(FF_MAJOR_VER) -lt 4; echo $$?),0)
EXTRA_FF_OPTS := --disable-vda
else ifeq ($(shell test $(FF_MAJOR_VER) -gt 6; echo $$?),0)
EXTRA_FF_OPTS := --disable-libdrm
endif
else
EXTRA_FF_OPTS :=
Expand Down
2 changes: 2 additions & 0 deletions src/ff_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ typedef struct FFCodec {
int (*update_thread_context_for_user)(struct AVCodecContext *dst,
const struct AVCodecContext *src);
const FFCodecDefault *defaults;
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(61, 13, 100)
void (*init_static_data)(struct FFCodec *codec);
#endif
int (*init)(struct AVCodecContext *);
union {
int (*decode)(struct AVCodecContext *avctx, struct AVFrame *frame,
Expand Down