diff --git a/configure b/configure
index cbd5dac10478e21746e5a7ae38f36ae0f8f15d59..50fbd86c64139aab691490e67950c2622d179613 100755
--- a/configure
+++ b/configure
@@ -2036,7 +2036,7 @@ get_version LIBAVCODEC  libavcodec/avcodec.h
 get_version LIBAVDEVICE libavdevice/avdevice.h
 get_version LIBAVFORMAT libavformat/avformat.h
 get_version LIBAVUTIL   libavutil/avutil.h
-lavfi_version=$(get_version LIBAVFILTER   libavfilter/avfilter.h)
+get_version LIBAVFILTER libavfilter/avfilter.h
 
 if enabled shared; then
     echo "BUILD_SHARED=yes" >> config.mak