diff options
author | Wayne Xia <xiawenc@linux.vnet.ibm.com> | 2011-07-08 11:03:16 +0800 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-07-09 09:50:26 -0400 |
commit | 8031efa935657cd7957ec927a1c3e37519d3d5a0 (patch) | |
tree | 96e7b5d0e56edbc249057a7849e1aa7443e6fb90 /src/jpeg.h | |
parent | 5042ca50f4dd808957d5550615e6c469147c9cf2 (diff) | |
download | seabios-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |