update to use SDL2
add FindSDL2.cmake
fix segfault with ffmpeg >= 2.0