* Check for NULL pointers before reading them.
* Code reformatting.
Merge branch 'master' into skipfolders
* Fix compile issue with old ffmpeg versions.
* Applying various OpenBSD-related changes. (Thanks SF user sthen23934)
* Consolidate client detection code.
* Add forced sorting support for Panasonic devices.
- Check for output truncation in strcatf().
- SQL escape user input in TiVo command processing.
Merge branch 'master' into skipfolders

Conflicts:
	minidlnatypes.h
	upnpglobalvars.c
	upnpglobalvars.h