oslibs (macosx, windows): recompile FLAC decoder with a fix for an input validation bug from upstream.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1144 af15c1b1-3010-417e-b628-4374ebc0bcbd
Host_Loadgame_f: don't break when there are } characters in quoted strings.  Fixes issue loading savegames from retrojam1_skacky

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1145 af15c1b1-3010-417e-b628-4374ebc0bcbd
Host_Startdemos_f: set cls.demonum to -1 in the default case where we skip the demo loop.

Fixes a bug where if you launched QS and immediately did "playdemo [something]", after the demo finished, demo1.dem would start to play instead of returning to the console.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1146 af15c1b1-3010-417e-b628-4374ebc0bcbd
Support pausing demo playback.

This is done by adding an extra 'demopaused' flag to client_static_t, separate from cl.paused because we don't want a svc_setpause inside the demo (caused by the player pausing during recording) to actually pause demo playback. The only potential failure case is, if the demo contains a svc_stufftext of the command "pause", the demo will pause itself when being played.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1147 af15c1b1-3010-417e-b628-4374ebc0bcbd