ffmpeg: fix memleaks
ffmpeg: fix memleaks

albertz/music-player,kingsj/music-player,albertz/music-player,albertz/music-player,kingsj/music-player,albertz/music-player,albertz/music-player,albertz/music-player,kingsj/music-player,kingsj/music-player,kingsj/music-player