add Findffmpeg.cmake, use cmake to detect ffmpeg
update to use SDL2
add FindSDL2.cmake
fix segfault with ffmpeg >= 2.0
防止内存泄漏
fix avplayer crash bug
use sdl2 for av render