]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- enable fix for 4.0.2 too, s/long/ptrdiff_t/.
authorPaweł Sikora <pluto@pld-linux.org>
Thu, 2 Feb 2006 11:04:32 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ffmpeg-gcc4.patch -> 1.7

ffmpeg-gcc4.patch

index 4de8b56ad5cd0da4807b35aa72348253ab7545b0..2ba1f3efb73ea45968057f9f23f0bb6ce0e26cbd 100644 (file)
@@ -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)));
This page took 0.056323 seconds and 4 git commands to generate.