From 15e35274d85cc8a56503d2c8c6a8d4813819e582 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 10 Oct 2006 12:07:25 +0000 Subject: [PATCH] Rename SIGN macro to the more fitting UNFOLD. Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/tta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/tta.c b/libavcodec/tta.c index bf7064995c..82713fb0ff 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -352,9 +352,9 @@ static int tta_decode_frame(AVCodecContext *avctx, rice->k0++; } - // extract sign -#define SIGN(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1)) - *p = SIGN(value); + // extract coded value +#define UNFOLD(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1)) + *p = UNFOLD(value); // run hybrid filter ttafilter_process(filter, p, 0);