Skip to content

Commit

Permalink
Reset ffmpeg major version check
Browse files Browse the repository at this point in the history
  • Loading branch information
DeinAlptraum committed Oct 13, 2024
1 parent 2ab92a5 commit 1fbb847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ AC_SUBST_DEFINE(HAVE_SWRESAMPLE, $libswresample_HAVE)
# map avutil library version to ffmpeg version
AC_MSG_CHECKING([version of ffmpeg])
# the order is ([avutil], [avcodec], [avformat], [swscale], [swresample])
if FFMPEG_LIBS_COMPATIBLE([59039100], [61019100], [61007100], [8003100], [5003100]); then
if FFMPEG_LIBS_COMPATIBLE([59008100], [61003100], [61001100], [8001100], [5001100]); then
FFMPEG_VERSION="7.0"
elif FFMPEG_LIBS_COMPATIBLE([58002100], [60003100], [60003100], [7001100], [4010100]); then
FFMPEG_VERSION="6.0"
Expand Down Expand Up @@ -351,7 +351,7 @@ elif test $libavutil_VERSION_INT -le 50024000 -a $libavutil_VERSION_INT -ge 4900
else
AC_MSG_ERROR([
Unsupported ffmpeg version, most recent version supported is 7.1.
Unsupported ffmpeg version, most recent version supported is 7.0.
])
fi
AX_EXTRACT_VERSION(FFMPEG, $FFMPEG_VERSION)
Expand Down

0 comments on commit 1fbb847

Please sign in to comment.