Update build_tc.sh
This commit is contained in:
parent
cc356fefc6
commit
4149b78590
11
build_tc.sh
11
build_tc.sh
@ -19,17 +19,6 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone or update ffmpeg
|
|
||||||
function get_source_ffmpeg {
|
|
||||||
if [ ! -d $SRC/ffmpeg/.git ]; then
|
|
||||||
git clone https://git.ffmpeg.org/ffmpeg.git --branch release/4.0 $SRC/ffmpeg
|
|
||||||
fi
|
|
||||||
cd $SRC/ffmpeg
|
|
||||||
git checkout release/4.0
|
|
||||||
git pull
|
|
||||||
cd ../..
|
|
||||||
}
|
|
||||||
|
|
||||||
# Compile x264 as static lib
|
# Compile x264 as static lib
|
||||||
function compile_x264 {
|
function compile_x264 {
|
||||||
cd $SRC/x264
|
cd $SRC/x264
|
||||||
|
Loading…
x
Reference in New Issue
Block a user