aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-01-06 12:51:35 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2009-01-06 12:51:35 +0000
commitaa9a9b7af75cf8caf67ed116e3e4d4b5f2e4831d (patch)
tree0ad43c9e888bfb897a89a97a45432a2017521eb3
parent628653449ca57347017067306f8720b3d5a7a5be (diff)
downloadffmpeg-aa9a9b7af75cf8caf67ed116e3e4d4b5f2e4831d.tar.gz
Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h
(parameter 'len' is a long not an int). Patch by David Conrad % lessen42 A gmail P com % Originally committed as revision 16451 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ppc/float_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/float_altivec.c b/libavcodec/ppc/float_altivec.c
index e27ac03f24..6f6246fd88 100644
--- a/libavcodec/ppc/float_altivec.c
+++ b/libavcodec/ppc/float_altivec.c
@@ -184,7 +184,7 @@ float_to_int16_one_altivec(const float *src)
return vec_packs(t0,t1);
}
-static void float_to_int16_altivec(int16_t *dst, const float *src, int len)
+static void float_to_int16_altivec(int16_t *dst, const float *src, long len)
{
int i;
vector signed short d0, d1, d;