Specify exact FFmpeg revision.

This commit is contained in:
John Preston 2021-12-22 10:55:29 +00:00
parent ede4c0f781
commit 8aa2f56717
2 changed files with 7 additions and 3 deletions

View File

@ -457,9 +457,13 @@ COPY --from=drm ${LibrariesPath}/drm-cache /
COPY --from=libva ${LibrariesPath}/libva-cache /
COPY --from=libvdpau ${LibrariesPath}/libvdpau-cache /
RUN git clone -b release/4.4 --depth=1 $GIT/FFmpeg/FFmpeg.git ffmpeg
RUN mkdir ffmpeg
WORKDIR ffmpeg
RUN git init
RUN git remote add origin $GIT/FFmpeg/FFmpeg.git
RUN git fetch --depth=1 origin cc33e73618a981de7fd96385ecb34719de031f16
RUN git reset --hard FETCH_HEAD
RUN ./configure \
--extra-cflags="-DCONFIG_SAFE_BITSTREAM_READER=1 $HFLAGS" \
--extra-cxxflags="-DCONFIG_SAFE_BITSTREAM_READER=1 $HFLAGS" \

View File

@ -625,7 +625,7 @@ mac:
stage('ffmpeg', """
git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg
cd ffmpeg
git checkout release/4.4
git checkout cc33e73618
win:
SET PATH_BACKUP_=%PATH%
SET PATH=%ROOT_DIR%\\ThirdParty\\msys64\\usr\\bin;%PATH%