diff --git a/src/enc/vp8l.c b/src/enc/vp8l.c index 68fb5f17..09e26ec3 100644 --- a/src/enc/vp8l.c +++ b/src/enc/vp8l.c @@ -754,7 +754,7 @@ static WebPEncodingError WriteImage(const WebPPicture* const pic, goto Error; } } - *coded_size = vp8l_size; + *coded_size = CHUNK_HEADER_SIZE + riff_size; return VP8_ENC_OK; Error: