1
0
Fork 0
forked from len0rd/rockbox

Fix warnings from r31453

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31454 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2011-12-28 11:47:35 +00:00
parent d2cdd80f5c
commit a7a78b3b52
2 changed files with 3 additions and 2 deletions

View file

@ -1423,6 +1423,7 @@ int jpeg_decode(struct jpeg* p_jpeg, unsigned char* p_pixel[1], int downscale,
else return -1; /* not supported */
/* init bitstream, fake a restart to make it start */
bs.get_buffer = 0;
bs.next_input_byte = p_jpeg->p_entropy_data;
bs.bits_left = 0;
bs.input_end = p_jpeg->p_entropy_end;