ofxGifDecoder icon indicating copy to clipboard operation
ofxGifDecoder copied to clipboard

EXC_BAD_ACCESS error

Open EveraertJan opened this issue 10 years ago • 2 comments

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

EveraertJan avatar Feb 24 '15 11:02 EveraertJan

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.

polyclick avatar May 09 '15 15:05 polyclick

check, thanks

EveraertJan avatar May 10 '15 20:05 EveraertJan