From 6a48d192957183c2b1dd1cba26c802bc7b27c58b Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Mon, 12 Dec 2005 18:47:49 +0000 Subject: - After repo copy from audio/liba52: update to ffmpeg snapshot 2005112800 - This port liba52-devel will provide the very latest liba52 from multimedia/ffmpeg-devel port distfiles with all the latest optimizations. Unfortunaly, there has been some API changes which prevent it from being an update to the standard audio/liba52 port. Repo copied by: marcus --- audio/liba52-devel/files/patch-resample.c | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 audio/liba52-devel/files/patch-resample.c (limited to 'audio/liba52-devel/files/patch-resample.c') diff --git a/audio/liba52-devel/files/patch-resample.c b/audio/liba52-devel/files/patch-resample.c new file mode 100644 index 000000000000..dc378c959535 --- /dev/null +++ b/audio/liba52-devel/files/patch-resample.c @@ -0,0 +1,38 @@ +--- resample.c.orig Mon Nov 3 16:06:32 2003 ++++ resample.c Sun Dec 11 03:27:20 2005 +@@ -6,7 +6,6 @@ + + #include "a52.h" + #include "mm_accel.h" +-#include "config.h" + #include "../libpostproc/mangle.h" + + int (* a52_resample) (float * _f, int16_t * s16)=NULL; +@@ -14,6 +13,7 @@ + #include "resample_c.c" + + #ifdef ARCH_X86 ++#include "../../libavutil/common.h" + #include "resample_mmx.c" + #endif + +@@ -24,7 +24,6 @@ + if(mm_accel&MM_ACCEL_X86_MMX){ + tmp=a52_resample_MMX(flags,chans); + if(tmp){ +- if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "Using MMX optimized resampler\n"); + a52_resample=tmp; + return tmp; + } +@@ -33,11 +32,9 @@ + + tmp=a52_resample_C(flags,chans); + if(tmp){ +- if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "No accelerated resampler found\n"); + a52_resample=tmp; + return tmp; + } + +- av_log(NULL, AV_LOG_ERROR, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans); + return NULL; + } -- cgit v1.2.3