Merge pull request #633 from Martijnvdc/master

Small changes to A/V
Increased port range.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
Cleaned up some code/fixed some warnings.

I'm sure nobody has any of the old save files anymore so I removed the
functions.
Public headers should not have any internal references
Merge pull request #634 from jin-eld/fix-public-headers

Public headers should not have any internal references
added AV_codec.h to public headers