mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
cwebp output size consistency:
In case of lossless too, it should report full file size. Fixes this issue: http://code.google.com/p/webp/issues/detail?id=126 Change-Id: I96e2bf09e6c9470a0267f5eea911d9b40d1addb3
This commit is contained in:
parent
1889e9b6cc
commit
159b75d31a
@ -754,7 +754,7 @@ static WebPEncodingError WriteImage(const WebPPicture* const pic,
|
|||||||
goto Error;
|
goto Error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*coded_size = vp8l_size;
|
*coded_size = CHUNK_HEADER_SIZE + riff_size;
|
||||||
return VP8_ENC_OK;
|
return VP8_ENC_OK;
|
||||||
|
|
||||||
Error:
|
Error:
|
||||||
|
Loading…
Reference in New Issue
Block a user