Commit graph

5 commits

Author SHA1 Message Date
Alexandre Perrin
d283137a60 fix mjpeg_decode_rgb32().
Before this patch the `rgb` pointer was incremented by the "inner" for
loop but never reset to the start of the buffer by the "outer" while
loop.

This bug was introduced by the refactoring in
6158aeb30a.
2018-01-31 15:29:01 +01:00
Alexandre Perrin
6158aeb30a mjpeg_decode_rgb32() refactoring.
Use calloc(3) & free(3) instead of c99 VLA.
2017-06-11 10:08:58 +02:00
Daniel Beer
fce4b94bb2 mjpeg: remember to set dinfo.err. 2017-05-31 17:52:55 +12:00
Daniel Beer
2cb90d5dd4 mjpeg: fix missing dereference operator. 2015-12-08 17:34:57 +13:00
Daniel Beer
a3142bc6b4 Initial commit: version 1.0. 2012-05-04 12:58:42 +12:00