From: Andre Noll Date: Sun, 18 Oct 2009 11:01:21 +0000 (+0200) Subject: Trivial whitespace fixes. X-Git-Tag: v0.4.1~77 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=723d3c6d7722747f4c3167a31a28cfdfd3793ab4;hp=79173335e569e0b2e9dec7cea719255dcc5362f2;ds=sidebyside Trivial whitespace fixes. --- diff --git a/bitstream.c b/bitstream.c index e36faaf8..23adb2bd 100644 --- a/bitstream.c +++ b/bitstream.c @@ -29,18 +29,18 @@ #define GET_DATA(v, table, i, wrap, size) \ {\ - const uint8_t *ptr = (const uint8_t *)table + i * wrap;\ - switch(size) {\ - case 1:\ - v = *(const uint8_t *)ptr;\ - break;\ - case 2:\ - v = *(const uint16_t *)ptr;\ - break;\ - default:\ - v = *(const uint32_t *)ptr;\ - break;\ - }\ + const uint8_t *ptr = (const uint8_t *)table + i * wrap; \ + switch (size) { \ + case 1: \ + v = *(const uint8_t *)ptr; \ + break; \ + case 2: \ + v = *(const uint16_t *)ptr; \ + break; \ + default: \ + v = *(const uint32_t *)ptr; \ + break; \ + } \ } static int alloc_table(struct vlc *vlc, int size) @@ -158,11 +158,11 @@ static int build_table(struct vlc *vlc, int table_nb_bits, * \param bits_wrap The number of bytes between each entry of the * 'bits' or 'codes' tables. * - * * \param bits_size The number of bytes of each entry of the * 'bits' or 'codes' tables. * * \param codes_wrap Same as bits_wrap but uses the 'codes' table. + * * \param codes_size Same as bits_size but for the 'codes' table. * * The wrap and size parameters allow to use any memory configuration and