fixed build problems with older ffmpeg versions

changed includes to not use ffmpeg internal headers
Merge branch 'linux-input' of https://github.com/fryshorts/obs-studio into linux-input