freebsd-ports/multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:motion_est_mmx.c
Michael Johnson 0f4cc5dfdf Commit message:
- Fix build on recent versions of gcc [1]
- Add support for jpeg-mmx [2]

PR:		74045 [1]
		69832 [2]
Submitted by:	maintainer [1]
Approved by:	adamw (mentor)
2004-11-17 22:11:44 +00:00

12 lines
437 B
C

--- ffmpeg/libavcodec/i386/motion_est_mmx.c.orig Wed Nov 17 17:31:38 2004
+++ ffmpeg/libavcodec/i386/motion_est_mmx.c Wed Nov 17 17:31:47 2004
@@ -26,7 +26,7 @@
0x0002000200020002ULL,
};
-static __attribute__ ((aligned(8), unused)) uint64_t bone= 0x0101010101010101LL;
+static __attribute__ ((aligned(8), used)) uint64_t bone= 0x0101010101010101LL;
static inline void sad8_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
{