Remove C99 custom headers

Change absolute DirectX to expandable one
Link with FFMpeg 2.2.1 statically

Remove outdated FFMpeg headers
Remove commented out or unused stuff
Use STL thread class for threading
Use STL mutex class for synchronization
Use STL condition_variable class
Force stereo for output audio
Replace defines with constants

Replace NULL with nullptr
Update README