Browse Source

Rename SIGN macro to the more fitting UNFOLD.

Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
15e35274d8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/tta.c

+ 3
- 3
libavcodec/tta.c View File

@@ -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);


Loading…
Cancel
Save