Browse Source

avcodec/golomb-test: fix () in EXTEND() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
97e6b5ee3a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/golomb-test.c

+ 1
- 1
libavcodec/golomb-test.c View File

@@ -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); init_put_bits(&pb, temp, SIZE);
for (i = 0; i < COUNT; i++) for (i = 0; i < COUNT; i++)
set_ue_golomb(&pb, EXTEND(i)); set_ue_golomb(&pb, EXTEND(i));


Loading…
Cancel
Save