Commit d0f315ab authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ppc/h264qpel_template: Change if DEBUG assert() to av_assert2()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 35315940
...@@ -23,15 +23,12 @@ ...@@ -23,15 +23,12 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "libavutil/avassert.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/ppc/types_altivec.h" #include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h" #include "libavutil/ppc/util_altivec.h"
#ifdef DEBUG #define ASSERT_ALIGNED(ptr) av_assert2(((unsigned long)ptr&0x0000000F));
#define ASSERT_ALIGNED(ptr) assert(((unsigned long)ptr&0x0000000F));
#else
#define ASSERT_ALIGNED(ptr) ;
#endif
#if HAVE_BIGENDIAN #if HAVE_BIGENDIAN
#define load_alignment(s, ali, pm2, pm1, pp0, pp1, pp2, pp3){\ #define load_alignment(s, ali, pm2, pm1, pp0, pp1, pp2, pp3){\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment