Skip to content

Commit 12fae5a

Browse files
authored
ffmpeg: stop build script a bit later when CAPTURE_REPLAY_SCRIPT is set (#13623)
This is so we include the fate suite in the cached image.
1 parent 65a7558 commit 12fae5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/ffmpeg/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ fi
223223
make clean
224224
make -j$(nproc) install
225225

226-
if [[ -n ${CAPTURE_REPLAY_SCRIPT-} ]]; then
227-
exit 0
228-
fi
229-
230226
# Download test samples, will be used as seed corpus.
231227
# DISABLED.
232228
# TODO: implement a better way to maintain a minimized seed corpora
@@ -235,6 +231,10 @@ fi
235231
export TEST_SAMPLES_PATH=$SRC/ffmpeg/fate-suite/
236232
make fate-rsync SAMPLES=$TEST_SAMPLES_PATH
237233

234+
if [[ -n ${CAPTURE_REPLAY_SCRIPT-} ]]; then
235+
exit 0
236+
fi
237+
238238
rsync -av rsync://samples.ffmpeg.org/samples/avi/ffv1/testset/ $SRC/ffmpeg/ffv1testset
239239

240240
# Build the fuzzers.

0 commit comments

Comments
 (0)