changeset 22240:43d03ab870b6

Use liblzo2 instead of liblzo1, it's not bigger but faster.
author diego
date Sun, 18 Feb 2007 14:54:50 +0000
parents 4015d0274a46
children be27c7642939
files configure libmpcodecs/ve_nuv.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Feb 18 14:51:44 2007 +0000
+++ b/configure	Sun Feb 18 14:54:50 2007 +0000
@@ -5564,18 +5564,18 @@
 echores "$_rtc"
 
 
-echocheck "external liblzo support"
+echocheck "liblzo2 support"
 if test "$_liblzo" = auto ; then
   _liblzo=no
   cat > $TMPC << EOF
-#include <lzo1x.h>
+#include <lzo/lzo1x.h>
 int main(void) { lzo_init();return 0; }
 EOF
-  cc_check -llzo && _liblzo=yes
+  cc_check -llzo2 && _liblzo=yes
 fi
 if test "$_liblzo" = yes ; then
   _def_liblzo='#define USE_LIBLZO 1'
-  _ld_extra="$_ld_extra -llzo"
+  _ld_extra="$_ld_extra -llzo2"
   _codecmodules="liblzo $_codecmodules"
 else
   _def_liblzo='#undef USE_LIBLZO'
--- a/libmpcodecs/ve_nuv.c	Sun Feb 18 14:51:44 2007 +0000
+++ b/libmpcodecs/ve_nuv.c	Sun Feb 18 14:54:50 2007 +0000
@@ -20,7 +20,7 @@
 #include "vf.h"
 
 #include "libmpdemux/nuppelvideo.h"
-#include <lzo1x.h>
+#include <lzo/lzo1x.h>
 #include "native/RTjpegN.h"
 
 #define LZO_AL(size) (((size) + (sizeof(long) - 1)) / sizeof(long))