summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index c674a55bf1..15a41ade7f 100755
--- a/configure
+++ b/configure
@@ -2713,6 +2713,17 @@ fi
echores "$_avcodec_is_decoder_api"
+echocheck "libavutil ref-counting API"
+_avutil_has_refcounting=no
+statement_check libavutil/frame.h 'av_frame_unref(NULL)' && _avutil_has_refcounting=yes
+if test "$_avutil_has_refcounting" = yes ; then
+ def_avutil_has_refcounting='#define HAVE_AVUTIL_REFCOUNTING 1'
+else
+ def_avutil_has_refcounting='#define HAVE_AVUTIL_REFCOUNTING 0'
+fi
+echores "$_avutil_has_refcounting"
+
+
echocheck "libavfilter >= 3.17.0"
if test "$libavfilter" = auto ; then
libavfilter=no
@@ -3046,6 +3057,7 @@ GL_X11 = $_gl_x11
GL_WAYLAND = $_gl_wayland
HAVE_POSIX_SELECT = $_posix_select
HAVE_SYS_MMAN_H = $_mman
+HAVE_AVUTIL_REFCOUNTING = $_avutil_has_refcounting
JACK = $_jack
JOYSTICK = $_joystick
JPEG = $_jpeg
@@ -3212,6 +3224,7 @@ $def_zlib
$def_avcodec_codec_desc_api
$def_avcodec_is_decoder_api
+$def_avutil_has_refcounting
$def_libpostproc
$def_libavdevice
$def_libavfilter