SOURCES: ffmpeg-gcc4.patch - enable fix for 4.0.2 too, s/long/ptrd...

pluto pluto at pld-linux.org
Thu Feb 2 12:04:37 CET 2006


Author: pluto                        Date: Thu Feb  2 11:04:37 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enable fix for 4.0.2 too, s/long/ptrdiff_t/.

---- Files affected:
SOURCES:
   ffmpeg-gcc4.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/ffmpeg-gcc4.patch
diff -u SOURCES/ffmpeg-gcc4.patch:1.6 SOURCES/ffmpeg-gcc4.patch:1.7
--- SOURCES/ffmpeg-gcc4.patch:1.6	Wed Feb  1 00:43:20 2006
+++ SOURCES/ffmpeg-gcc4.patch	Thu Feb  2 12:04:32 2006
@@ -12,8 +12,8 @@
      );
  }
  
-+#if ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 1))
-+static inline void transpose4x4(uint8_t *dst, uint8_t *src, long dst_stride, long src_stride) {
++#if (__GNUC__ >= 4)
++static inline void transpose4x4(uint8_t *dst, uint8_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride) {
 +    __m64 row0 = _mm_cvtsi32_si64(*(unsigned*)(src + (0 * src_stride)));
 +    __m64 row1 = _mm_cvtsi32_si64(*(unsigned*)(src + (1 * src_stride)));
 +    __m64 row2 = _mm_cvtsi32_si64(*(unsigned*)(src + (2 * src_stride)));
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ffmpeg-gcc4.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list