diff --git a/src/dec/tree.c b/src/dec/tree.c index 88238885..31208d9d 100644 --- a/src/dec/tree.c +++ b/src/dec/tree.c @@ -11,7 +11,7 @@ // // Author: Skal (pascal.massimino@gmail.com) -#include "vp8i.h" +#include "./vp8i.h" #include "../utils/bit_reader_inl.h" #define USE_GENERIC_TREE diff --git a/src/dsp/enc_neon.c b/src/dsp/enc_neon.c index 1e712c52..56d5809a 100644 --- a/src/dsp/enc_neon.c +++ b/src/dsp/enc_neon.c @@ -1002,10 +1002,10 @@ static int16x8_t Quantize(int16_t* const in, } static const uint8_t kShuffles[4][8] = { - { 0, 1, 2, 3, 8, 9, 16, 17 }, - { 10, 11, 4, 5, 6, 7, 12, 13 }, - { 18, 19, 24, 25, 26, 27, 20, 21 }, - { 14, 15, 22, 23, 28, 29, 30, 31 } + { 0, 1, 2, 3, 8, 9, 16, 17 }, + { 10, 11, 4, 5, 6, 7, 12, 13 }, + { 18, 19, 24, 25, 26, 27, 20, 21 }, + { 14, 15, 22, 23, 28, 29, 30, 31 } }; static int QuantizeBlock(int16_t in[16], int16_t out[16], diff --git a/src/dsp/lossless.c b/src/dsp/lossless.c index 84e20784..57d54a29 100644 --- a/src/dsp/lossless.c +++ b/src/dsp/lossless.c @@ -1169,7 +1169,7 @@ static void ColorSpaceInverseTransform(const VP8LTransform* const transform, data += remaining_width; } ++y; - if ((y & mask) == 0) pred_row += tiles_per_row;; + if ((y & mask) == 0) pred_row += tiles_per_row; } } diff --git a/src/enc/frame.c b/src/enc/frame.c index 7885e555..cdf1dabf 100644 --- a/src/enc/frame.c +++ b/src/enc/frame.c @@ -508,7 +508,7 @@ static void StoreSideInfo(const VP8EncIterator* const it) { } case 7: *info = mb->alpha_; break; default: *info = 0; break; - }; + } } #if SEGMENT_VISU // visualize segments and prediction modes SetBlock(it->yuv_out_ + Y_OFF, mb->segment_ * 64, 16); diff --git a/src/utils/quant_levels_dec.c b/src/utils/quant_levels_dec.c index c599e40a..5b8b8b49 100644 --- a/src/utils/quant_levels_dec.c +++ b/src/utils/quant_levels_dec.c @@ -32,10 +32,10 @@ #define DSIZE 4 // dithering size (must be a power of two) // cf. http://en.wikipedia.org/wiki/Ordered_dithering static const uint8_t kOrderedDither[DSIZE][DSIZE] = { - { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision - { 12, 4, 14, 6 }, - { 3, 11, 1, 9 }, - { 15, 7, 13, 5 } + { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision + { 12, 4, 14, 6 }, + { 3, 11, 1, 9 }, + { 15, 7, 13, 5 } }; #else diff --git a/src/utils/utils.c b/src/utils/utils.c index 4a86886e..8ff7f12f 100644 --- a/src/utils/utils.c +++ b/src/utils/utils.c @@ -155,9 +155,9 @@ static void SubMem(void* ptr) { } #else -#define Increment(v) do {} while(0) -#define AddMem(p, s) do {} while(0) -#define SubMem(p) do {} while(0) +#define Increment(v) do {} while (0) +#define AddMem(p, s) do {} while (0) +#define SubMem(p) do {} while (0) #endif // Returns 0 in case of overflow of nmemb * size.