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.
Improve the Get(Cur)DispMode and SetDispMode functions.

Fixes CID #966222.
Options dialog: Disable "Reset" when the INI is read-only.

Ref #3591.