提交 15e35274 编写于 作者: D Diego Biurrun

Rename SIGN macro to the more fitting UNFOLD.

Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 6b6b5003
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册