jpeg: add jpeg_fetch_size()
commit246179a8089087059714bd36b8e0f4ad92d24c00
authorPatrick Georgi <patrick@georgi-clan.de>
Sun, 9 Aug 2015 16:23:10 +0000 (9 18:23 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 28 Oct 2015 18:15:17 +0000 (28 19:15 +0100)
tree37aff686d76783ae370c12ccb9f820f8f0464a2a
parenta5c5db37eecc056792be72f6ef71d4ea6f1a7207
jpeg: add jpeg_fetch_size()

This aids the fuzzer test case.

Change-Id: Ic7d43b76cf5660e085e7b3b13499de0358c13197
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/12181
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
src/lib/jpeg.c
src/lib/jpeg.h