[FFmpeg-devel] [PATCH] confgure: create quick access fate samples link

Michael Niedermayer michaelni at gmx.at
Wed Sep 3 18:49:21 CEST 2014

This allows using fs/<random_fate_sample> from the directory where ffmpeg was build
for example in bug reports.

Alternatively this could be created from the Makefile

This of course works only on OS and file-systems which support links

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
 configure |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configure b/configure
index b1814db..919f2fb 100755
--- a/configure
+++ b/configure
@@ -5705,3 +5705,11 @@ pkgconfig_generate libpostproc   "FFmpeg postprocessing library"        "$LIBPOS
 pkgconfig_generate libavresample "Libav audio resampling library"       "$LIBAVRESAMPLE_VERSION" "$LIBM"
 pkgconfig_generate libswscale    "FFmpeg image rescaling library"       "$LIBSWSCALE_VERSION"    "$LIBM"
 pkgconfig_generate libswresample "FFmpeg audio resampling library"      "$LIBSWRESAMPLE_VERSION" "$LIBM"
+#Create quick access fate samples link
+if test -n "$samples" ;then
+    echo A > $TMPH
+    $ln_s -T $TMPH fs
+    echo B > fs
+    grep -q B $TMPH && $ln_s -T "$samples" fs

More information about the ffmpeg-devel mailing list