diff options
Diffstat (limited to 'apps/plugins/imageviewer')
-rw-r--r-- | apps/plugins/imageviewer/jpeg/jpeg_decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/jpeg/jpeg_decoder.c b/apps/plugins/imageviewer/jpeg/jpeg_decoder.c index 3c43c5d303..0adff53788 100644 --- a/apps/plugins/imageviewer/jpeg/jpeg_decoder.c +++ b/apps/plugins/imageviewer/jpeg/jpeg_decoder.c | |||
@@ -1423,6 +1423,7 @@ int jpeg_decode(struct jpeg* p_jpeg, unsigned char* p_pixel[1], int downscale, | |||
1423 | else return -1; /* not supported */ | 1423 | else return -1; /* not supported */ |
1424 | 1424 | ||
1425 | /* init bitstream, fake a restart to make it start */ | 1425 | /* init bitstream, fake a restart to make it start */ |
1426 | bs.get_buffer = 0; | ||
1426 | bs.next_input_byte = p_jpeg->p_entropy_data; | 1427 | bs.next_input_byte = p_jpeg->p_entropy_data; |
1427 | bs.bits_left = 0; | 1428 | bs.bits_left = 0; |
1428 | bs.input_end = p_jpeg->p_entropy_end; | 1429 | bs.input_end = p_jpeg->p_entropy_end; |