Browse Source

Restrict ffmpeg usage to known good versions

Fixes #1017
sorta...

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc2
falkTX 4 years ago
parent
commit
54c075d5af
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      source/Makefile.mk
  2. +1
    -1
      source/modules/audio_decoder/Makefile

+ 4
- 1
source/Makefile.mk View File

@@ -238,7 +238,10 @@ HAVE_PULSEAUDIO = $(shell pkg-config --exists libpulse-simple && echo true)
endif
endif

HAVE_FFMPEG = $(shell pkg-config --exists libavcodec libavformat libavutil && echo true)
# ffmpeg values taken from https://ffmpeg.org/download.html (v2.8.15 maximum)
HAVE_FFMPEG = $(shell pkg-config --max-version=56.60.100 libavcodec && \
pkg-config --max-version=56.40.101 libavformat && \
pkg-config --max-version=54.31.100 libavutil && echo true)
HAVE_FLUIDSYNTH = $(shell pkg-config --atleast-version=1.1.7 fluidsynth && echo true)
HAVE_JACK = $(shell pkg-config --exists jack && echo true)
HAVE_LIBLO = $(shell pkg-config --exists liblo && echo true)


+ 1
- 1
source/modules/audio_decoder/Makefile View File

@@ -10,7 +10,7 @@ include ../Makefile.mk

# ---------------------------------------------------------------------------------------------------------------------

# BUILD_C_FLAGS +=
BUILD_C_FLAGS += -Werror=deprecated-declarations

# ---------------------------------------------------------------------------------------------------------------------



Loading…
Cancel
Save