[FFmpeg-cvslog] r25321 - in trunk: configure libavfilter/vf_frei0r.c

victor subversion
Sun Oct 3 11:49:36 CEST 2010


Author: victor
Date: Sun Oct  3 11:49:36 2010
New Revision: 25321

Log:
Use SLIBSUF instead of .so, as a more generic dynamic library suffix.

Modified:
   trunk/configure
   trunk/libavfilter/vf_frei0r.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Oct  3 00:18:02 2010	(r25320)
+++ trunk/configure	Sun Oct  3 11:49:36 2010	(r25321)
@@ -3223,6 +3223,7 @@ cat > $TMPH <<EOF
 #define ASMALIGN(ZEROBITS) ".p2align " #ZEROBITS "\\n\\t"
 #define EXTERN_PREFIX "${extern_prefix}"
 #define EXTERN_ASM ${extern_prefix}
+#define SLIBSUF "$SLIBSUF"
 EOF
 
 test -n "$malloc_prefix" &&

Modified: trunk/libavfilter/vf_frei0r.c
==============================================================================
--- trunk/libavfilter/vf_frei0r.c	Sun Oct  3 00:18:02 2010	(r25320)
+++ trunk/libavfilter/vf_frei0r.c	Sun Oct  3 11:49:36 2010	(r25321)
@@ -192,7 +192,7 @@ static void *load_path(AVFilterContext *
 {
     char path[1024];
 
-    snprintf(path, sizeof(path), "%s%s.so", prefix, name);
+    snprintf(path, sizeof(path), "%s%s%s", prefix, name, SLIBSUF);
     av_log(ctx, AV_LOG_DEBUG, "Looking for frei0r effect in '%s'\n", path);
     return dlopen(path, RTLD_NOW|RTLD_LOCAL);
 }



More information about the ffmpeg-cvslog mailing list