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:
parent
d2cdd80f5c
commit
a7a78b3b52
2 changed files with 3 additions and 2 deletions
|
@ -1423,6 +1423,7 @@ int jpeg_decode(struct jpeg* p_jpeg, unsigned char* p_pixel[1], int downscale,
|
||||||
else return -1; /* not supported */
|
else return -1; /* not supported */
|
||||||
|
|
||||||
/* init bitstream, fake a restart to make it start */
|
/* init bitstream, fake a restart to make it start */
|
||||||
|
bs.get_buffer = 0;
|
||||||
bs.next_input_byte = p_jpeg->p_entropy_data;
|
bs.next_input_byte = p_jpeg->p_entropy_data;
|
||||||
bs.bits_left = 0;
|
bs.bits_left = 0;
|
||||||
bs.input_end = p_jpeg->p_entropy_end;
|
bs.input_end = p_jpeg->p_entropy_end;
|
||||||
|
|
|
@ -2645,7 +2645,7 @@ static void error_wait(const char *message)
|
||||||
Main function that also contain the main plasma
|
Main function that also contain the main plasma
|
||||||
algorithm.
|
algorithm.
|
||||||
*/
|
*/
|
||||||
static int main(void)
|
static int pictureflow_main(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -2963,7 +2963,7 @@ enum plugin_status plugin_start(const void *parameter)
|
||||||
buf = (void*)(grey_buf_used + (char*)buf);
|
buf = (void*)(grey_buf_used + (char*)buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = main();
|
ret = pictureflow_main();
|
||||||
if ( ret == PLUGIN_OK || ret == PLUGIN_GOTO_WPS) {
|
if ( ret == PLUGIN_OK || ret == PLUGIN_GOTO_WPS) {
|
||||||
if (configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS,
|
if (configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS,
|
||||||
CONFIG_VERSION))
|
CONFIG_VERSION))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue