Merge branch 'master' into ci_integration

pull/7/head
Javernaut 5 years ago
commit 258de55faa
  1. 3
      ffmpeg-android-maker.sh

@ -21,6 +21,8 @@ rm -rf ${STATS_DIR}
rm -rf ${OUTPUT_DIR} rm -rf ${OUTPUT_DIR}
mkdir -p ${STATS_DIR} mkdir -p ${STATS_DIR}
mkdir -p ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR}
# Note: the 'source' folder wasn't actually deleted, just ensure it exists
mkdir -p ${SOURCES_DIR}
# Getting sources of a particular ffmpeg release. # Getting sources of a particular ffmpeg release.
# Same argument (ffmpeg version) produces the same source set. # Same argument (ffmpeg version) produces the same source set.
@ -33,7 +35,6 @@ function ensureSourcesTag() {
TARGET_FILE_NAME=ffmpeg-${FFMPEG_VERSION}.tar.bz2 TARGET_FILE_NAME=ffmpeg-${FFMPEG_VERSION}.tar.bz2
TARGET_FILE_PATH=${SOURCES_DIR}/${TARGET_FILE_NAME} TARGET_FILE_PATH=${SOURCES_DIR}/${TARGET_FILE_NAME}
mkdir -p ${SOURCES_DIR}
curl https://www.ffmpeg.org/releases/${TARGET_FILE_NAME} --output ${TARGET_FILE_PATH} curl https://www.ffmpeg.org/releases/${TARGET_FILE_NAME} --output ${TARGET_FILE_PATH}
tar xvjf ${TARGET_FILE_PATH} -C ${SOURCES_DIR} tar xvjf ${TARGET_FILE_PATH} -C ${SOURCES_DIR}
rm ${TARGET_FILE_PATH} rm ${TARGET_FILE_PATH}

Loading…
Cancel
Save