Playing from QIODevice fix + IO Buffer (de)allocation fix

Playing from QIODevice was broken in a recent commit, is fixed now. IO Buffer
(de)allocation now done as is advised by ffmpeg. Also changed some header paths since you couldn't implement your own renderer outside of QtAV.