summaryrefslogtreecommitdiff
path: root/libavutil/ppc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-27 21:45:00 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-01 03:15:19 +0100
commit9564375deeaf22f8e8eaa4fcbc33115d104f7138 (patch)
tree499f0a6e3e02d45264ed0c79369256e777787ae5 /libavutil/ppc
parentdcf19008a67f35ae817a7af65ce2625a82acb641 (diff)
downloadffmpeg-9564375deeaf22f8e8eaa4fcbc33115d104f7138.tar.gz
avutil/ppc/intreadwrite: remove AV_??64 overriding code
The code has undefined behavior and makes no difference when optimizations are enabled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/ppc')
-rw-r--r--libavutil/ppc/intreadwrite.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavutil/ppc/intreadwrite.h b/libavutil/ppc/intreadwrite.h
index 1ec349eadd..7671676ce9 100644
--- a/libavutil/ppc/intreadwrite.h
+++ b/libavutil/ppc/intreadwrite.h
@@ -24,20 +24,6 @@
#include <stdint.h>
#include "config.h"
-/*
- * -O0 would compile the packed struct version, which is used by
- * default, in an overly verbose fashion, so we override it here.
- */
-#if HAVE_BIGENDIAN
-#define AV_RB64(p) (*(const uint64_t *)(p))
-#define AV_WB64(p, v) (*(uint64_t *)(p) = (v))
-
-#else
-#define AV_RL64(p) (*(const uint64_t *)(p))
-#define AV_WL64(p, v) (*(uint64_t *)(p) = (v))
-
-#endif
-
#if HAVE_XFORM_ASM
#if HAVE_BIGENDIAN