mplayer -vc null -vo null -ao pcm whatever.flv

This is reads whatever.flv and writes audiodump.wav.