fixed build problems with older ffmpeg versions

changed includes to not use ffmpeg internal headers