[FFmpeg-cvslog] tests: don't include TARGET_PATH in the sample path needlessly

Hendrik Leppkes git at videolan.org
Fri Apr 19 17:25:57 EEST 2019

ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Thu Apr  4 00:17:43 2019 +0200| [a87774636b870ee1888bec24327062baf4841ea0] | committer: Hendrik Leppkes

tests: don't include TARGET_PATH in the sample path needlessly

The transcode() helper function will already prepend the TARGET_PATH to
the sample path, if its a relative path. This avoids an issue on
Windows, where the relative path check could fail.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a87774636b870ee1888bec24327062baf4841ea0

 tests/fate/ffmpeg.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index af7282f9ab..71ab2f1f63 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -95,7 +95,7 @@ fate-copy-trac2211-avi: CMD = transcode "h264 -r 14" $(TARGET_SAMPLES)/h264/bbc2
 FATE_STREAMCOPY-$(call ENCDEC, APNG, APNG) += fate-copy-apng
 fate-copy-apng: fate-lavf-apng
-fate-copy-apng: CMD = transcode apng "$(TARGET_PATH)/tests/data/lavf/lavf.apng" apng "-c:v copy"
+fate-copy-apng: CMD = transcode apng tests/data/lavf/lavf.apng apng "-c:v copy"
 FATE_STREAMCOPY-$(call DEMMUX, OGG, OGG) += fate-limited_input_seek fate-limited_input_seek-copyts
 fate-limited_input_seek: $(TARGET_SAMPLES)/vorbis/moog_small.ogg

More information about the ffmpeg-cvslog mailing list