diff --git a/configure b/configure
index 13e49d120d3d38b099e6cf67e012796dac5a59d0..f772ed13d525adc14c68710f35dd28aa448c6aab 100755
--- a/configure
+++ b/configure
@@ -1665,9 +1665,7 @@ if test "$lshared" = "yes" ; then
   echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
 fi
 echo "EXTRALIBS=$extralibs" >> config.mak
-version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" |
- cut -d '"' -f 2`
-echo "VERSION=$version" >>config.mak
+
 # If you do not want to use encoders, disable them.
 echo "#define CONFIG_ENCODERS 1" >> $TMPH
 echo "CONFIG_ENCODERS=yes" >> config.mak