[FFmpeg-cvslog] avcodec/golomb-test: fix () in EXTEND() macro
Michael Niedermayer
git at videolan.org
Sun May 25 03:59:41 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 25 03:27:56 2014 +0200| [97e6b5ee3a16fee7d130f19f4dcee030f14d91cf] | committer: Michael Niedermayer
avcodec/golomb-test: fix () in EXTEND() macro
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97e6b5ee3a16fee7d130f19f4dcee030f14d91cf
---
libavcodec/golomb-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/golomb-test.c b/libavcodec/golomb-test.c
index 8adcdf6..2dfe917 100644
--- a/libavcodec/golomb-test.c
+++ b/libavcodec/golomb-test.c
@@ -58,7 +58,7 @@ int main(void)
}
}
-#define EXTEND(i) (i << 3 | i & 7)
+#define EXTEND(i) ((i) << 3 | (i) & 7)
init_put_bits(&pb, temp, SIZE);
for (i = 0; i < COUNT; i++)
set_ue_golomb(&pb, EXTEND(i));
More information about the ffmpeg-cvslog
mailing list