memset( param->cqm_8iy, 16, 64 );
memset( param->cqm_8py, 16, 64 );
+ param->b_repeat_headers = 1;
param->b_aud = 0;
}
echo "default: x264vfw.dll" >> config.mak
fi
+./version.sh
+
# x264.pc file creation
rm -f x264.pc
cat > x264.pc << EOF
Name: x264
Description: H.264 (MPEG4 AVC) encoder library
-Version:
+Version: $(grep POINTVER < config.h | sed -e 's/.* "//; s/".*//')
Libs: -L$libdir -lx264
Cflags: -I$includedir
EOF
if [ "x$VER" != x -a "$VER" != exported ]
then
echo "#define X264_VERSION \" svn-$VER\"" > config.h
+ API=`grep '#define X264_BUILD' < x264.h | grep -o '[1-9][0-9]*\>'`
+ VER=`echo $VER | grep -o '^[0-9]*'`
+ echo "#define X264_POINTVER \"0.$API.$VER\"" >> config.h
else
echo "#define X264_VERSION \"\"" > config.h
+ echo "#define X264_POINTVER \"\"" >> config.h
fi