From 8292ca3541e7375c0d05c40000e8359884027b74 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 23 Jun 2002 21:04:35 +0000 Subject: quick ffmpeg update (enables wmv1 decoding) thanks to the ffmpeg team for their amazing work! CVS patchset: 2141 CVS date: 2002/06/23 21:04:35 --- src/libffmpeg/libavcodec/dsputil.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/libffmpeg/libavcodec/dsputil.c') diff --git a/src/libffmpeg/libavcodec/dsputil.c b/src/libffmpeg/libavcodec/dsputil.c index 945b7cc9d..6bc5c8b45 100644 --- a/src/libffmpeg/libavcodec/dsputil.c +++ b/src/libffmpeg/libavcodec/dsputil.c @@ -252,21 +252,6 @@ void add_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size) } } -#ifdef __GNUC__ - -struct unaligned_64 { uint64_t l; } __attribute__((packed)); -struct unaligned_32 { uint32_t l; } __attribute__((packed)); - -#define LD32(a) (((const struct unaligned_32 *) (a))->l) -#define LD64(a) (((const struct unaligned_64 *) (a))->l) - -#else /* __GNUC__ */ - -#define LD32(a) (*((uint32_t*)(a))) -#define LD64(a) (*((uint64_t*)(a))) - -#endif /* !__GNUC__ */ - #if 0 #define PIXOP2(OPNAME, OP) \ -- cgit v1.2.3