[FFmpeg-devel] [PATCH] tests: Download lena.pnm if its missing from the source tree
Michael Niedermayer
michaelni at gmx.at
Tue Aug 26 13:41:42 CEST 2014
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
tests/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index 07557f9..2f095df 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -24,13 +24,16 @@ $(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(AREF): tests/audiogen$(HOSTEXESUF) | tests/data
$(M)./$< $@
+$(SRC_PATH)/tests/lena.pnm:
+ wget -O $@ http://samples.ffmpeg.org/image-samples/lena.pnm
+
tests/data/asynth-%.wav: tests/audiogen$(HOSTEXESUF) | tests/data
$(M)./$< $@ $(subst -, ,$*)
tests/data/vsynth1.yuv: tests/videogen$(HOSTEXESUF) | tests/data
$(M)$< $@
-tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
+tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) $(SRC_PATH)/tests/lena.pnm | tests/data
$(M)$< $(SRC_PATH)/tests/lena.pnm $@
tests/data/vsynth3.yuv: tests/videogen$(HOSTEXESUF) | tests/data
--
1.7.9.5
More information about the ffmpeg-devel
mailing list