Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-06 20:12:29 +0400
committerMans Rullgard <mans@mansr.com>2012-06-07 14:28:39 +0400
commitd0e9415d234f701bed8837f4e315131ea4e84482 (patch)
treeba27266099df653546bc8efc7e7e132857e2a393 /tests/Makefile
parentecf79c4d3e8baaf2f303278ef81db6f8407656bc (diff)
fate: avoid freopen(NULL) in videogen/rotozoom
A number of systems do not implement freopen() with a NULL filename correctly. This changes these programs to output individual images if opening a named output argument as a file fails, in this case assuming it is a directory. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 5ed1e5eefb..01ff711a37 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -16,10 +16,10 @@ tests/data/asynth-%.wav: tests/audiogen$(HOSTEXESUF) | tests/data
$(M)./$< $@ $(subst -, ,$*)
tests/data/vsynth1.yuv: tests/videogen$(HOSTEXESUF) | tests/data
- $(M)$< >$@
+ $(M)$< $@
tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
- $(M)$< $(SRC_PATH)/tests/lena.pnm >$@
+ $(M)$< $(SRC_PATH)/tests/lena.pnm $@
tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm: TAG = GEN