diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-08 20:13:26 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-09 03:58:20 +0400 |
commit | d7a4f8f8b9a4bc309d4d5ab067cfba945e690c0c (patch) | |
tree | cdf4e8c5b08c4766669d85ab14f8150b121f3c6c /libavcodec/mpeg12enc.c | |
parent | 070a402b60cb4ebc6fd2ba59c13758811815bb19 (diff) |
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>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index cb3e9d5a70..a96a23dd6b 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -885,7 +885,7 @@ static void mpeg1_encode_block(MpegEncContext *s, run = i - last_non_zero - 1; alevel= level; - MASK_ABS(sign, alevel) + MASK_ABS(sign, alevel); sign&=1; if (alevel <= mpeg1_max_level[0][run]){ |