public boolean stalled ()
    {
        //  Check whether there was decoding error.
        if (!next ())
            return false;
        
        while (to_read == 0) {
            if (!next ()) {
                if (!next ())
                    return false;
                return true;
            }
        }
        return false;
    }