mainly code to let limpdemux independent from mplayer.
Now contain a function to check external interruption from blocking
code (network connection and cache fililng)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4823 b3059339-0415-0410-9bf9-f77b7e298cf2