VobSubFile: Ensure m_langs is properly initialized and avoid magic numbers.
SyncRenderer::CGenlock: Make sure all member variables are initialized.
SyncRenderer::CGenlock::MovingAverage: Don't over-allocate memory.
Text subtitles: Fix color parsing after 1f6b129d65e8de158e1119b348e59ac43d5ff7e6.

All values bigger than LONG_MAX were truncated to LONG_MAX.

Fixes #4619.
VobSub: Avoid using booleans directly in computations and use the b prefix.
VobSub: Correctly check for allocation errors.
VobSub: Use size_t when it makes more sense than using int.
Comment out some unused variable assignments.

Those can be useful if the functions are extended one day.
Don't force any background color for the Shockwave graph.

This commit fixes #1747.
Why "C:\tmp.srt"?
WebUI: Inform the web interface that no audio stream is available.
WebUI: Make use of new [hasaudio] info.
What the hell was intended here?!

Trying to make some sense of that code. Without much luck so far...