support flv with invalid header