diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-10 12:07:25 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-10 12:07:25 +0000 |
commit | 15e35274d85cc8a56503d2c8c6a8d4813819e582 (patch) | |
tree | 7104a5f50378aa7c76057309546c9abbc8528e54 /libavcodec/tta.c | |
parent | 6b6b5003de7eec8dbc0480afc803860398ab270e (diff) | |
download | ffmpeg-15e35274d85cc8a56503d2c8c6a8d4813819e582.tar.gz |
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.c | 6 |
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); |