Codec setup is the very last step in shout_open, so codec teardown should only happen when SHOUT_STATE_CONNECTED.
Codec setup is the very last step in shout_open, so codec teardown
should only happen when SHOUT_STATE_CONNECTED.

svn path=/icecast/trunk/libshout/; revision=11133

mwgoldsmith/shout,mwgoldsmith/shout