Skip to content

Commit

Permalink
Quick fix for Issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Oct 11, 2014
1 parent d49f806 commit 3bce376
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions converters/loader.c
Expand Up @@ -312,17 +312,20 @@ load_with_builtin(chunk_t const *pchunk, int *psx, int *psy,
{
FILE *f;
unsigned char *p;
unsigned char *pixels;
unsigned char *pixels = NULL;
static stbi__context s;
static stbi__gif g;
chunk_t frames;
chunk_t delays;

#if 0
if (chunk_is_sixel(pchunk)) {
/* sixel */
*pframe_count = 1;
*ploop_count = 1;
} else if (chunk_is_pnm(pchunk)) {
} else
#endif
if (chunk_is_pnm(pchunk)) {
/* pnm */
pixels = load_pnm(pchunk->buffer, pchunk->size,
psx, psy, pcomp, pstride);
Expand Down

0 comments on commit 3bce376

Please sign in to comment.