diff --git a/src/dec/vp8.c b/src/dec/vp8.c index c73585df..fb9e63d8 100644 --- a/src/dec/vp8.c +++ b/src/dec/vp8.c @@ -73,7 +73,7 @@ void VP8Delete(VP8Decoder* const dec) { } int VP8SetError(VP8Decoder* const dec, - VP8StatusCode error, const char * const msg) { + VP8StatusCode error, const char* const msg) { dec->status_ = error; dec->error_msg_ = msg; dec->ready_ = 0; diff --git a/src/dec/vp8i.h b/src/dec/vp8i.h index f694ba4e..9b4ba7e7 100644 --- a/src/dec/vp8i.h +++ b/src/dec/vp8i.h @@ -288,7 +288,7 @@ struct VP8Decoder { // in vp8.c int VP8SetError(VP8Decoder* const dec, - VP8StatusCode error, const char * const msg); + VP8StatusCode error, const char* const msg); // Validates the VP8 data-header and retrieves basic header information viz // width and height. Returns 0 in case of formatting error. *width/*height diff --git a/src/dec/vp8l.c b/src/dec/vp8l.c index d73ffe27..12a5ac44 100644 --- a/src/dec/vp8l.c +++ b/src/dec/vp8l.c @@ -45,7 +45,7 @@ typedef enum { RED = 1, BLUE = 2, ALPHA = 3, - DIST = 4, + DIST = 4 } HuffIndex; static const uint16_t kAlphabetSize[HUFFMAN_CODES_PER_META_CODE] = { diff --git a/src/webp/decode.h b/src/webp/decode.h index 2cd6043d..e3f0d346 100644 --- a/src/webp/decode.h +++ b/src/webp/decode.h @@ -188,7 +188,7 @@ typedef enum { // WebPInitDecBuffer(&buffer); // buffer.colorspace = mode; // ... -// WebPIDecoder* const idec = WebPINew(&buffer); +// WebPIDecoder* const idec = WebPINewDecoder(&buffer); // while (has_more_data) { // // ... (get additional data) // status = WebPIAppend(idec, new_data, new_data_size);