diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-02-18 19:52:51 +0100 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-02-18 19:54:05 +0100 | 
| commit | 3ae8be8348ca2b636d906be9a434439ce43c300a (patch) | |
| tree | d9ca15e1e4554f5988b90c3954a69ac7d7e5151b /fiv-io.c | |
| parent | 5d019e20b5df00ba400c1c6ba0dc81c9eb44a040 (diff) | |
| download | fiv-3ae8be8348ca2b636d906be9a434439ce43c300a.tar.gz fiv-3ae8be8348ca2b636d906be9a434439ce43c300a.tar.xz fiv-3ae8be8348ca2b636d906be9a434439ce43c300a.zip  | |
Add a TODO comment
WebP can't save all JPEGs, because WEBP_MAX_DIMENSION is only 16383.
Diffstat (limited to 'fiv-io.c')
| -rw-r--r-- | fiv-io.c | 1 | 
1 files changed, 1 insertions, 0 deletions
@@ -3098,6 +3098,7 @@ fiv_io_encode_webp(  		for (int i = h * picture.argb_stride; i-- > 0; argb++)  			*argb |= 0xFF000000; +	// TODO(p): Prevent or propagate VP8_ENC_ERROR_BAD_DIMENSION.  	picture.writer = WebPMemoryWrite;  	picture.custom_ptr = &writer;  	if (!WebPEncode(config, &picture))  | 
