mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 22:09:57 +02:00
more C89-fixes
going down to strict -ansi c89 is quite overkill (no 'inline', and /* */-style comments). But with these fixes, the code compiles with the stringent flags: -Wextra -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations and -Wdeclaration-after-statement Change-Id: I36222f8f505bcba3d9d1309ad98b5ccb04ec17e3
This commit is contained in:
@ -270,7 +270,7 @@ int VP8IteratorNext(VP8EncIterator* const it,
|
||||
//-----------------------------------------------------------------------------
|
||||
// Helper function to set mode properties
|
||||
|
||||
void VP8SetIntra16Mode(const VP8EncIterator* it, int mode) {
|
||||
void VP8SetIntra16Mode(const VP8EncIterator* const it, int mode) {
|
||||
int y;
|
||||
uint8_t* preds = it->preds_;
|
||||
for (y = 0; y < 4; ++y) {
|
||||
|
Reference in New Issue
Block a user