changeset 3985:082a52023a5b libavcodec

Rename SIGN macro to the more fitting UNFOLD.
author diego
date Tue, 10 Oct 2006 12:07:25 +0000
parents bb186452e7da
children 54c7481b381e
files tta.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tta.c	Tue Oct 10 08:16:41 2006 +0000
+++ b/tta.c	Tue Oct 10 12:07:25 2006 +0000
@@ -352,9 +352,9 @@
                     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);