playing with ccd decoding using SDL