Move MASK_ABS macro to libavcodec/mathops.h
authorMans Rullgard <mans@mansr.com>
Wed, 8 Aug 2012 16:13:26 +0000 (17:13 +0100)
committerMans Rullgard <mans@mansr.com>
Wed, 8 Aug 2012 23:58:20 +0000 (00:58 +0100)
commitd7a4f8f8b9a4bc309d4d5ab067cfba945e690c0c
treecdf4e8c5b08c4766669d85ab14f8150b121f3c6c
parent070a402b60cb4ebc6fd2ba59c13758811815bb19
Move MASK_ABS macro to libavcodec/mathops.h

This macro is only used in two places, both in libavcodec, so this
is a more sensible place for it.

Two small tweaks to the macro are made:

- removing the trailing semicolon
- dropping unnecessary 'volatile' from the x86 asm

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/mathops.h
libavcodec/mpeg12enc.c
libavcodec/x86/mathops.h
libavutil/internal.h