Apply AStyle.
Remove duplicated code.

Fixes CID #965941.
Avoid useless conversion to CStringA.

Fixes CID #1111768.
CVobFile: Avoid hiding methods without overriding them.

Fixes CID #965828 #965829.
Check some return values when it makes sense to do so.

Fixes CID #965877 #1111761 #1111762 #1111764.
Simplify string handling to avoid possible null dereference.

Fixes CID #1111767.
CDDAReader: Use _byteswap_ushort when possible.

Fixes CID #966012 #966205.
Document some switch cases that intentionally don't end with a break statement.

Fixes CID #966019 #966020.
Avoid a potential (though unlikely) memory leak.

Fixes CID #1111770.
Check that CAutoVectorPtr::Allocate succeeded before using the memory.

Fixes CID #965879 #1111760.
Always check IMediaSample::GetPointer return value.

Fixes CID #965883 #965884.
DVBSub/PGSSub: Add more error checking when parsing composition object.

Fixes CID #971508.
Initialize a variable.

Fixes CID #1111779.
Remove some dead code.

Fixes CID #965946.
VSFilter: Use the "secure" version of the string functions when possible.
Fix/silence some warnings (mostly C4244 and C4267 "possible loss of data").
Update LAV Filters to 0.58.2-95-f326e37 (custom build based on 0.58.2-90-602b085).

Important change: Fix a crash when opening RealMedia streaming (ticket #3342).
player.html: remove width completely.

It's handled in JS.
Use ZeroMemory on more places instead of {0,0}
Fix NULL handle passed as parameter.