Fixes: check results of memory allocation functions
Fixes: check for NULL pointers before dereference
Fixes: don't use uninitialized vars
Fixes: checks for buffer overrun
Fixes: wrong log strings
Fixes: remove large buffers from stack
ElementText: replace 'char *' with 'std::string'
[win32] AESinkDirectSound: check result of GetStatus()
GUIWindowTestPatternDX::DrawCheckers: check input parameters
AEChannelInfo::BestMatch: fix use boolean in arithmetics
XMLUtils::GetHex: check result of sscanf()
ActiveAEResample::Init: transform to 64bit before shift
CueDocument: replace call of isdigit() with StringUtils::isasciidigit()
cc_decoder: suppress printing to stderr and stdout
Merge pull request #5045 from Karlson2k/code_fixes_11

Code fixes
dvdplayer: allow rewinding at end of stream, do a seek after rewind
dvdplayer: observe pts counter overflow
dvdplayer: avoid short screen flicker caused by unnecessary reconfigure of renderer
vdpau: advanced settings for auto deinterlacing
player: fix rewind