1 From 5dc8322b4f9a3de29b3da70b69e16356a2a1764c Mon Sep 17 00:00:00 2001
2 From: Viacheslav Volkov <sv99@inbox.ru>
3 Date: Sat, 19 Dec 2015 19:07:09 +0100
4 Subject: [PATCH] Fix function protoype to be compatible with recent libjpeg
6 Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/zbar/jpeg.c b/zbar/jpeg.c
13 index 972bfea..fdd1619 100644
16 @@ -68,7 +68,7 @@ void init_source (j_decompress_ptr cinfo)
17 cinfo->src->bytes_in_buffer = img->datalen;
20 -int fill_input_buffer (j_decompress_ptr cinfo)
21 +boolean fill_input_buffer (j_decompress_ptr cinfo)
23 /* buffer underrun error case */
24 cinfo->src->next_input_byte = fake_eoi;