From 723d3c6d7722747f4c3167a31a28cfdfd3793ab4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 18 Oct 2009 13:01:21 +0200 Subject: [PATCH] Trivial whitespace fixes. --- bitstream.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 -- 2.39.2