Blame view

buildroot/buildroot-2016.08.1/package/zbar/0002-Fix-function-protoype-to-be-compatible-with-recent-l.patch 833 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  From 5dc8322b4f9a3de29b3da70b69e16356a2a1764c Mon Sep 17 00:00:00 2001
  From: Viacheslav Volkov <sv99@inbox.ru>
  Date: Sat, 19 Dec 2015 19:07:09 +0100
  Subject: [PATCH] Fix function protoype to be compatible with recent libjpeg
  
  Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
  Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  ---
   zbar/jpeg.c | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
  
  diff --git a/zbar/jpeg.c b/zbar/jpeg.c
  index 972bfea..fdd1619 100644
  --- a/zbar/jpeg.c
  +++ b/zbar/jpeg.c
  @@ -68,7 +68,7 @@ void init_source (j_decompress_ptr cinfo)
       cinfo->src->bytes_in_buffer = img->datalen;
   }
   
  -int fill_input_buffer (j_decompress_ptr cinfo)
  +boolean fill_input_buffer (j_decompress_ptr cinfo)
   {
       /* buffer underrun error case */
       cinfo->src->next_input_byte = fake_eoi;
  -- 
  2.6.4