Fix unconditional 'true' return from StartUPnP() if HAS_UPNP is true.
Fix possible memory leak in Settings.cpp
Always close test socket in CWebServer::Start()
Convert #defines to real integral constants in SmartPlaylist.cpp

The name "group" used in these macros gets confused with the name
of the parameter "group" in various functions in this file when the
macro is expanded (See translateGroup(), etc).

This causes the sizeof() calculation to use the size of a pointer,
rather than the intended size.
Fix incorrect iterator comparison in CAlbum::Save()
Remove NULL check that can never be true.

We've already validated that render is non-null on all possible
control paths at this point.
Fix incorrect virtual override in ProfilesManager
Fix validation checks in Deserialize()
Fix possible memory leaks in iso9660.cpp
Fix possible integer overflow in udf25.cpp
Avoid possible divide-by-0 in DirectXGraphics.cpp
Check return value of GetResumeBookMark()
Fix incorret iterator comparison in MusicInfoScanner.cpp
Prevent possible divide-by-0 in karaokevideobackground.cpp
Check return of musicUrl.FromString() in GUIWindowMusicBase.cpp
Avoid incorrect signed-unsigned conversion on error in GUIWindowLoginScreen.cpp
cleanup sorting to (almost) get rid of the old SORT_METHOD_FOO
Merge pull request #2749 from kylhill/master

Fix New Coverity Static Analysis Issues
Merge pull request #2959 from Montellese/sorting_cleanup

cleanup sorting to (almost) get rid of the old SORT_METHOD_FOO
[tools] Updated to latest gas-preprocessor.pl http://git.libav.org/?p=gas-preprocessor.git

http://git.libav.org/?p=gas-preprocessor.git;a=commit;h=0b4738e1e50184a9523da4cb2a19cad942645915