aboutsummaryrefslogtreecommitdiff
path: root/src/jpeg.h
diff options
context:
space:
mode:
authorWayne Xia <xiawenc@linux.vnet.ibm.com>2011-07-08 11:03:16 +0800
committerKevin O'Connor <kevin@koconnor.net>2011-07-09 09:50:26 -0400
commit8031efa935657cd7957ec927a1c3e37519d3d5a0 (patch)
tree96e7b5d0e56edbc249057a7849e1aa7443e6fb90 /src/jpeg.h
parent5042ca50f4dd808957d5550615e6c469147c9cf2 (diff)
downloadseabios-hppa-8031efa935657cd7957ec927a1c3e37519d3d5a0.zip
seabios-hppa-8031efa935657cd7957ec927a1c3e37519d3d5a0.tar.gz
seabios-hppa-8031efa935657cd7957ec927a1c3e37519d3d5a0.tar.bz2
Fix jpeg decoder problem when it is used in 24 BPP mode.
Signed-off-by: Wayne Xia <xiawenc@linux.vnet.ibm.com>
Diffstat (limited to 'src/jpeg.h')
-rw-r--r--src/jpeg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jpeg.h b/src/jpeg.h
index a2ac501..2d08f45 100644
--- a/src/jpeg.h
+++ b/src/jpeg.h
@@ -5,7 +5,7 @@ struct jpeg_decdata;
struct jpeg_decdata *jpeg_alloc(void);
int jpeg_decode(struct jpeg_decdata *jpeg, unsigned char *buf);
void jpeg_get_size(struct jpeg_decdata *jpeg, int *width, int *height);
-int jpeg_show(struct jpeg_decdata *jpeg, unsigned char *pic
- , int width, int height, int depth);
+int jpeg_show(struct jpeg_decdata *jpeg, unsigned char *pic, int width
+ , int height, int depth, int bytes_per_line_dest);
#endif