summaryrefslogtreecommitdiff
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-10 12:07:25 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-10 12:07:25 +0000
commit15e35274d85cc8a56503d2c8c6a8d4813819e582 (patch)
tree7104a5f50378aa7c76057309546c9abbc8528e54 /libavcodec/tta.c
parent6b6b5003de7eec8dbc0480afc803860398ab270e (diff)
Rename SIGN macro to the more fitting UNFOLD.
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c6
1 files 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);