Yannis Guyon
01ac46bae6
libwebp: Display "libjpeg error:" in imageio/jpegdec
...
For clearer error message in cwebp.
BUG=webp:420
Change-Id: Ie60b53c4c6b77a96f81f3b5cd285b7c7003a1308
2019-03-08 19:09:41 +01:00
James Zern
6f9daa4a3a
jpegdec,ReadError: fix leaks on error
...
everything post jpeg decoder creation should go through the error path
to ensure it's cleaned up properly
Change-Id: If78b4529e40797c67c3d0e624af1c036badea674
2017-08-08 07:02:00 -07:00
James Zern
cec7201447
jpegdec: correct ContextFill signature
...
fill_input_buffer returns a boolean
Change-Id: I208a1a862fa6c57cb5b73568b84055f734c1c36f
2016-12-09 18:20:25 -08:00
James Zern
2a2773ea29
imageio/*dec,Read*: add input parameter checks
...
Change-Id: I5e069d6ea4da9d8c71be03ef99aad679dd1aad21
2016-10-12 20:49:30 -07:00
James Zern
bc86b7a8a1
imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow
...
and use it to validate decoder allocations. fixes a crash in jpegdec at
least.
BUG=webp:312
Change-Id: Ia940590098f29510add6aad10a8dfe9e9ea46bf4
2016-10-07 14:41:48 -07:00
James Zern
4cecab63bd
pngdec.c,jpegdec.[hc]: remove unnecessary includes
...
example_util.h hasn't been needed since:
a9947c3
cwebp: add support for stdin input
Change-Id: Ic4fcefd5567aa3f4a5c1d443e8c6d9b4fc2fb53f
2016-07-20 12:12:14 -07:00
James Zern
c379b55a93
move examples/{example_util,image_dec} to imageio/
...
Change-Id: I2508c786a095a2a75bebf766210c64e2af88f9b6
2016-07-19 19:06:29 -07:00