[Ffmpeg-cvslog] r7277 - trunk/libavcodec/ppc/h264_altivec.c

gpoirier subversion
Mon Dec 11 11:52:19 CET 2006


Author: gpoirier
Date: Mon Dec 11 11:52:18 2006
New Revision: 7277

Modified:
   trunk/libavcodec/ppc/h264_altivec.c

Log:
GCC 3.3 compile fix


Modified: trunk/libavcodec/ppc/h264_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/h264_altivec.c	(original)
+++ trunk/libavcodec/ppc/h264_altivec.c	Mon Dec 11 11:52:18 2006
@@ -464,7 +464,7 @@
     vec_u8_t lv = vec_ld( 7, dest );                           \
     vec_u8_t dstv   = vec_perm( hv, lv, (vec_u8_t)perm_ldv );  \
     vec_s16_t idct_sh6 = vec_sra(idctv, sixv);                 \
-    vec_u16_t dst16 = vec_mergeh(zero_u8v, dstv);              \
+    vec_u16_t dst16 = (vec_u16_t)vec_mergeh(zero_u8v, dstv);   \
     vec_s16_t idstsum = vec_adds(idct_sh6, (vec_s16_t)dst16);  \
     vec_u8_t idstsum8 = vec_packsu(zero_s16v, idstsum);        \
     vec_u8_t edgehv;                                           \




More information about the ffmpeg-cvslog mailing list