diff --git a/configure b/configure
index 76ea08d806761c9d9579582843a13e84d4d1e7d2..63eadca383032e21c3b8072d692ae749dc2e4280 100755
--- a/configure
+++ b/configure
@@ -3241,7 +3241,7 @@ get_version LIBPOSTPROC libpostproc/postprocess.h
 get_version LIBAVCODEC  libavcodec/avcodec.h
 get_version LIBAVCORE   libavcore/avcore.h
 get_version LIBAVDEVICE libavdevice/avdevice.h
-get_version LIBAVFORMAT libavformat/avformat.h
+get_version LIBAVFORMAT libavformat/version.h
 get_version LIBAVUTIL   libavutil/avutil.h
 get_version LIBAVFILTER libavfilter/avfilter.h