Get code to compile in C++.

Change-Id: I2f56e6b71e33ffecdba9e4fa9ef8f891c88f850f
This commit is contained in:
Vincent Rabaud
2017-06-19 17:12:29 +02:00
parent 7b012987a2
commit 5d7a50efee
2 changed files with 8 additions and 2 deletions

View File

@ -157,8 +157,8 @@ static PixOrCopyBlock* BackwardRefsNewBlock(VP8LBackwardRefs* const refs) {
extern void VP8LBackwardRefsCursorAdd(VP8LBackwardRefs* const refs,
const PixOrCopy v);
WEBP_INLINE void VP8LBackwardRefsCursorAdd(VP8LBackwardRefs* const refs,
const PixOrCopy v) {
void VP8LBackwardRefsCursorAdd(VP8LBackwardRefs* const refs,
const PixOrCopy v) {
PixOrCopyBlock* b = refs->last_block_;
if (b == NULL || b->size_ == refs->block_size_) {
b = BackwardRefsNewBlock(refs);