ofxGifDecoder
ofxGifDecoder copied to clipboard
EXC_BAD_ACCESS error
Hi, i imported your files, and it seems the decoder file gets the app stuck on this error.
it gets stuck in the getpixel(int x, int y) function, in the if(channel == 4) line.
this one: c.set( pixels[index], pixels[index+1], pixels[index+2], pixels[index+3] );
any idea how to fix it?
thanks in advance.
Jan
No idea what the right fix is for this, just starting my OF experience but you can try to reëncode the gif. Probably a problem with the amount of channels. When I tried a different gif, the example was working.
check, thanks