changeset 7757:b04a9742669c libavcodec

Don't declare SSE vp3 idct data static, so it can be used in the mmx version
author conrad
date Sun, 31 Aug 2008 07:05:08 +0000
parents 2994fe74068f
children dfbf377bd066
files i386/vp3dsp_sse2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/i386/vp3dsp_sse2.c	Sun Aug 31 03:08:18 2008 +0000
+++ b/i386/vp3dsp_sse2.c	Sun Aug 31 07:05:08 2008 +0000
@@ -27,7 +27,7 @@
 #include "dsputil_mmx.h"
 #include "mmx.h"
 
-static DECLARE_ALIGNED_16(const unsigned short, SSE2_idct_data[7 * 8]) =
+DECLARE_ALIGNED_16(const unsigned short, ff_vp3_idct_data[7 * 8]) =
 {
     64277,64277,64277,64277,64277,64277,64277,64277,
     60547,60547,60547,60547,60547,60547,60547,60547,
@@ -457,7 +457,7 @@
 {
     unsigned char *input_bytes = (unsigned char *)input_data;
     unsigned char *output_data_bytes = (unsigned char *)input_data;
-    const unsigned char *idct_data_bytes = (const unsigned char *)SSE2_idct_data;
+    const unsigned char *idct_data_bytes = (const unsigned char *)ff_vp3_idct_data;
     const unsigned char *Eight = (const unsigned char *)&ff_pw_8;
 
 #define eax input_bytes